运行 ID: 3597

Main.cc:5:11: error: ‘::main’ must return ‘int’
 void main()
           ^
Main.cc: In function ‘int main()’:
Main.cc:13:20: error: ‘strlen’ was not declared in this scope
  for(int num=0;num