记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:17:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   cin>>a[i]+1;
        ~~~~^~
foo.cc:20:16: warning: array subscript has type 'char' [-Wchar-subscripts]
    f[j][a[i][j]]++;
                ^
foo.cc:24:9: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   cin>>s+1;
        ~^~
foo.cc:27:13: warning: array subscript has type 'char' [-Wchar-subscripts]
    f[j][s[j]]++;
             ^
foo.cc:34:16: warning: array subscript has type 'char' [-Wchar-subscripts]
    f[j][a[i][j]]--;
                ^
foo.cc:40:16: warning: array subscript has type 'char' [-Wchar-subscripts]
    f[j][a[i][j]]++;
                ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 2ms 348.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 1ms 384.0 KiB
#9 Accepted 1ms 384.0 KiB
#10 Accepted 1ms 384.0 KiB
#11 Accepted 2ms 640.0 KiB
#12 Accepted 2ms 640.0 KiB
#13 Accepted 2ms 512.0 KiB
#14 Accepted 2ms 640.0 KiB
#15 Accepted 3ms 640.0 KiB
#16 Accepted 6ms 1.418 MiB
#17 Accepted 29ms 1.555 MiB
#18 Accepted 24ms 1.617 MiB
#19 Accepted 31ms 1.531 MiB
#20 Accepted 30ms 1.629 MiB

信息

递交者
类型
递交
题目
P1268 Single string
比赛
南京师范大学算法赛队2021年7月集训程序设计竞赛(小兰集训赛)
语言
C++
递交时间
2021-07-16 16:40:35
评测时间
2021-07-16 16:40:35
评测机
分数
100
总耗时
157ms
峰值内存
1.629 MiB