记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:24:14: warning: array subscript has type 'char' [-Wchar-subscripts]
   cnt[j][s[j]]++;
              ^
foo.cc:33:18: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
    if(cnt[j][i]&1==1) sig=i;
                 ~^~~
foo.cc:36:4: warning: 'sig' may be used uninitialized in this function [-Wmaybe-uninitialized]
    if(v[i][0]==sig) cout<<v[i]<<endl;
    ^~
foo.cc:15:6: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int len;
      ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 2,5d1 < ccccc < ccccc < ccccc 1ms 384.0 KiB
#2 Wrong Answer 2,4d1 < eeee < eeee < eeee 1ms 384.0 KiB
#3 Wrong Answer 2d1 < pzrpzr 1ms 384.0 KiB

信息

递交者
类型
自测
题目
P1268 Single string
语言
C++
递交时间
2021-07-17 10:13:44
评测时间
2021-07-17 10:13:44
评测机
分数
0
总耗时
5ms
峰值内存
384.0 KiB