Wrong Answer

foo.cc: In function 'int main()':
foo.cc:12:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   12 |     for(int i=0;i<strlen(a);i++)
      |                 ~^~~~~~~~~~
foo.cc:12:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   12 |     for(int i=0;i<strlen(a);i++)
      |     ^~~
foo.cc:17:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   17 |  cout<<ou<<","<<""<<ji<<endl;
      |  ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 49,0, expect 1,0. 2ms 384.0 KiB
#2 Wrong Answer Read 54,0, expect 9,12. 3ms 384.0 KiB
#3 Wrong Answer Read 56,49, expect 1681,1640. 2ms 384.0 KiB
#4 Wrong Answer Read 108,54, expect 80656,80372. 1ms 384.0 KiB
#5 Wrong Answer Read 97,96, expect 250000,250500. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1055 奇数及偶数和
语言
C++
递交时间
2022-04-19 12:56:37
评测时间
2022-04-19 12:56:37
评测机
分数
0
总耗时
12ms
峰值内存
384.0 KiB