记录详情

Compile Error

/in/foo.cc:14:14: warning: missing terminating " character
   14 |     printf(%d", sum);
      |              ^
/in/foo.cc:14:14: error: missing terminating " character
   14 |     printf(%d", sum);
      |              ^~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:11: error: 'l' was not declared in this scope
    6 |     int j=l;
      |           ^
/in/foo.cc:9:18: error: 'it' was not declared in this scope; did you mean 'i'?
    9 |     for(i=1;i<=n;it+)
      |                  ^~
      |                  i
/in/foo.cc:9:21: error: expected primary-expression before ')' token
    9 |     for(i=1;i<=n;it+)
      |                     ^
/in/foo.cc:14:12: error: expected primary-expression before '%' token
   14 |     printf(%d", sum);
      |            ^
/in/foo.cc:14:13: error: 'd' was not declared in this scope
   14 |     printf(%d", sum);
      |             ^

信息

递交者
类型
自测
语言
C++
递交时间
2026-06-09 15:00:39
评测时间
2026-06-09 15:00:39
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes