/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:9:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=1;i<=199;i++);
  ^~~
/in/foo.c:10:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  {if(A<=a[0])
  ^
/in/foo.c:11:6: error: 't' undeclared (first use in this function)
     {t=a[0];
      ^
/in/foo.c:11:6: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:12:11: error: expected ']' before '}' token
      a[i+1}=a[i];
           ^
/in/foo.c:12:7: warning: statement with no effect [-Wunused-value]
      a[i+1}=a[i];
      ~^~~~~
/in/foo.c:12:11: error: expected ';' before '}' token
      a[i+1}=a[i];
           ^
/in/foo.c:12:12: error: expected expression before '=' token
      a[i+1}=a[i];
            ^

信息

递交者
类型
递交
题目
P1005 超长数字串
语言
C
递交时间
2024-11-23 09:20:28
评测时间
2024-11-23 09:20:28
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes