Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:21:25: error: 'i' was not declared in this scope
   21 |                 while(c[i]==1)i--;
      |                         ^
/in/foo.cc:22:19: error: 'i' was not declared in this scope
   22 |                 c[i]++;
      |                   ^
/in/foo.cc:20:21: warning: unused variable 'j' [-Wunused-variable]
   20 |                 int j=n;
      |                     ^

信息

递交者
类型
递交
题目
P3199 按位与
语言
C++
递交时间
2026-11-15 09:14:53
评测时间
2026-11-15 09:14:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes