/ OPS /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:29: error: 'n' was not declared in this scope
    9 |         for (int i = 0; i < n; ++i) {
      |                             ^
/in/foo.cc:18:33: error: 'n' was not declared in this scope
   18 |         double average = sum / (n - 2); // 计算剩余分数的平均值
      |                                 ^
/in/foo.cc: At global scope:
/in/foo.cc:23:5: error: expected unqualified-id before 'return'
   23 |     return 0;
      |     ^~~~~~
/in/foo.cc:24:1: error: expected declaration before '}' token
   24 | }
      | ^

信息

递交者
类型
递交
题目
P1356 评委会打分
语言
C++
递交时间
2025-04-12 14:46:02
评测时间
2025-04-12 14:46:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes