记录详情

Compile Error

foo.cc:1:1: error: stray ‘##’ in program
    1 | ##include<iostream>
      | ^~
foo.cc:1:3: error: ‘include’ does not name a type
    1 | ##include<iostream>
      |   ^~~~~~~
foo.cc: In function ‘int main()’:
foo.cc:7:9: error: ‘cin’ was not declared in this scope
    7 |         cin>>n;
      |         ^~~
foo.cc:14:17: error: ‘cout’ was not declared in this scope
   14 |                 cout<<"Yes"<<endl;
      |                 ^~~~
foo.cc:14:30: error: ‘endl’ was not declared in this scope
   14 |                 cout<<"Yes"<<endl;
      |                              ^~~~
foo.cc:16:17: error: ‘cout’ was not declared in this scope
   16 |                 cout<<"No"<<endl;
      |                 ^~~~
foo.cc:16:29: error: ‘endl’ was not declared in this scope
   16 |                 cout<<"No"<<endl;
      |                             ^~~~

信息

递交者
类型
递交
比赛
南师大2025年新生赛(第一场)
语言
C++
递交时间
2025-08-15 09:15:39
评测时间
2025-08-23 22:06:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes