/ WHOJ /

记录详情

Compile Error

foo.cc:5:11: error: conflicting declaration 'int ans'
    5 | int len=0,ans=0,j;
      |           ^~~
foo.cc:4:5: note: previous declaration as 'int ans [55]'
    4 | int ans[55],ansb[55],c[55];
      |     ^~~
foo.cc: In function 'int main()':
foo.cc:12:13: error: 'i' was not declared in this scope
   12 |         for(i=0; i<la; i++)
      |             ^
foo.cc:14:13: error: 'i' was not declared in this scope
   14 |         for(i=0; i<la; i++)
      |             ^
foo.cc:16:13: error: 'i' was not declared in this scope
   16 |         for(i=la; i<lb; i++)
      |             ^
foo.cc:28:25: error: lvalue required as increment operand
   28 |                         ans++;
      |                         ^~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1498 同构字符串(文件IO)
题目数据
下载
语言
C++
递交时间
2022-08-11 23:04:16
评测时间
2022-08-12 09:37:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes