记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:7:5: error: 'i' undeclared (first use in this function)
 for(i=1;i<=n;i++){
     ^
/in/foo.c:7:5: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:9:2: error: expected ';' before '}' token
  }
  ^
/in/foo.c:11:2: error: 'retrun' undeclared (first use in this function)
  retrun 0;
  ^~~~~~
/in/foo.c:11:9: error: expected ';' before numeric constant
  retrun 0;
         ^

信息

递交者
类型
自测
题目
P1008 平方和累加
语言
C
递交时间
2024-11-02 08:39:54
评测时间
2024-11-02 08:39:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes