/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:16: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[5001]' [-Wformat=]
   scanf("%s",&a); // 读入序列,存入数组a
                ^
/in/foo.cc:14:31: error: 'i' was not declared in this scope
   for (int j = 0; j <= n - 1; i++){
                               ^

信息

递交者
类型
递交
题目
P1327 回文词
语言
C++
递交时间
2020-03-24 22:25:11
评测时间
2020-03-24 22:25:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes