记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:21:11: warning: array subscript has type 'char' [-Wchar-subscripts]
   cnt[s[0]]++;
           ^
foo.cc:28:14: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   if(cnt[i]&1==1) sig=i;
             ~^~~
foo.cc:31:3: warning: 'sig' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(v[i][0]==sig) cout<<v[i]<<endl;
   ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 404.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 400.0 KiB
#6 Accepted 1ms 440.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 2ms 404.0 KiB
#10 Wrong Answer 2,3d1 < ckvpcmwyduulg < cavpcm 1ms 384.0 KiB
#11 Accepted 2ms 384.0 KiB
#12 Wrong Answer 1,2d0 < ymbpvgyfixixrvhuaedhtu 2ms 428.0 KiB
#13 Accepted 2ms 384.0 KiB
#14 Accepted 2ms 460.0 KiB
#15 Wrong Answer 1,7d0 < egigaiifhixdgudfauvrud 2ms 452.0 KiB
#16 Wrong Answer 2,11d1 < qnyxduouhoutldmhgouiu 4ms 728.0 KiB
#17 Wrong Answer 1,9d0 < bhsehvsqfqazsotucurbda 10ms 1.152 MiB
#18 Wrong Answer 1,6d0 < tetgerxcxjwbvcuekntbtl 14ms 1.273 MiB
#19 Wrong Answer 1,23d0 < lddhfyfvklpfskpuiqmwg 10ms 1.191 MiB
#20 Wrong Answer 1,9d0 < fxctukhemrnapsikoofrbl 12ms 1.371 MiB

信息

递交者
类型
递交
题目
P1268 Single string
语言
C++
递交时间
2021-07-17 10:09:17
评测时间
2021-07-17 10:09:17
评测机
分数
60
总耗时
84ms
峰值内存
1.371 MiB