/ OPS /

记录详情

Compile Error

/in/foo.cc:10:13: error: stray '\357' in program
   10 |  string NO_1;
      |             ^
/in/foo.cc:10:14: error: stray '\274' in program
   10 |  string NO_1;
      |              ^
/in/foo.cc:10:15: error: stray '\233' in program
   10 |  string NO_1;
      |               ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:11:3: error: expected initializer before 'char'
   11 |   char name[20];
      |   ^~~~
/in/foo.cc:13:7: error: 'name' was not declared in this scope; did you mean 'rename'?
   13 |  cin>>name;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              );
      |       ^~~~
      |       rename
/in/foo.cc:13:506: error: expected primary-expression before ')' token
   13 |  cin>>name;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              );
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
/in/foo.cc:30:3: error: 'NO_1' was not declared in this scope
   30 |   NO_1=name;
      |   ^~~~
/in/foo.cc:37:8: error: 'NO_1' was not declared in this scope
   37 |  cout<<NO_1<<"\n"<<max<<"\n"<<sum;
      |        ^~~~

信息

递交者
类型
递交
题目
P3018 谁拿了最多奖学金
语言
C++
递交时间
2023-10-10 20:32:20
评测时间
2023-10-10 20:32:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes