记录详情

Accepted

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) {
    ^~
foo.cc:15:6: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int len;
      ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB

信息

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