Compile Error

/in/foo.cc:15:6: error: stray '#' in program
  else#include <iostream>
      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:8:6: warning: statement has no effect [-Wunused-value]
    n / 100;
    ~~^~~~~
/in/foo.cc:13:3: error: 'cout' was not declared in this scope
   cout << "Yes"; 
   ^~~~
/in/foo.cc:15:7: error: 'include' was not declared in this scope
  else#include <iostream>
       ^~~~~~~
/in/foo.cc:15:16: error: 'iostream' was not declared in this scope
  else#include <iostream>
                ^~~~~~~~
/in/foo.cc:16:3: error: 'cin' was not declared in this scope
   cin >> n;
   ^~~
/in/foo.cc:19:3: error: 'cout' was not declared in this scope
   cout << "No";
   ^~~~
/in/foo.cc:19:15: error: expected '}' before ';' token
   cout << "No";
               ^
/in/foo.cc:19:15: error: cannot convert '<brace-enclosed initializer list>' to 'int' in assignment
/in/foo.cc: At global scope:
/in/foo.cc:21:2: error: expected unqualified-id before 'return'
  return 0;
  ^~~~~~
/in/foo.cc:22:1: error: expected declaration before '}' token
 }
 ^

信息

递交者
类型
递交
题目
P1013 水仙花数
语言
C++
递交时间
2021-11-19 21:08:42
评测时间
2021-11-19 21:08:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes