记录详情

Wrong Answer

foo.cc: In function 'void insert(char*)':
foo.cc:26:34: warning: array subscript has type 'char' [-Wchar-subscripts]
   26 |                         s[k+1]=s[k];
      |                                  ^
foo.cc:27:19: warning: array subscript has type 'char' [-Wchar-subscripts]
   27 |                 s[j]=',';
      |                   ^
foo.cc: In function 'int main()':
foo.cc:38:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   38 |         for(int i=0;i<strlen(s);i++)
      |                     ~^~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read ,123, expect 123. 3ms 256.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Wrong Answer Read ,123,456,789, expect 123,456,789. 3ms 256.0 KiB
#5 Accepted 2ms 256.0 KiB

信息

递交者
类型
递交
题目
9-1 改错题
语言
C++
递交时间
2022-08-22 19:18:43
评测时间
2022-08-22 19:18:43
评测机
分数
60
总耗时
16ms
峰值内存
256.0 KiB