记录详情

Compile Error

/in/foo.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:5: error: 'cin' was not declared in this scope
    6 |     cin >>m;
      |     ^~~
/in/foo.cc:12:9: error: 'cout' was not declared in this scope
   12 |         cout<<"YES"<<endl;
      |         ^~~~
/in/foo.cc:12:22: error: 'endl' was not declared in this scope
   12 |         cout<<"YES"<<endl;
      |                      ^~~~
/in/foo.cc:14:9: error: 'cout' was not declared in this scope
   14 |         cout<<"NO"<<endl;
      |         ^~~~
/in/foo.cc:14:21: error: 'endl' was not declared in this scope
   14 |         cout<<"NO"<<endl;
      |                     ^~~~
/in/foo.cc:15:13: error: expected ';' before '}' token
   15 |     return 0
      |             ^
      |             ;
   16 | }
      | ~            

信息

递交者
类型
递交
题目
P1017 contest1-3 水仙花数
比赛
2026-11-13 C++实测1
语言
C++
递交时间
2026-11-13 20:10:49
评测时间
2026-11-13 20:10:49
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes