记录详情

Accepted

foo.c: In function 'main':
foo.c:11:40: warning: array subscript 100 is above array bounds of 'char[100]' [-Warray-bounds]
   11 |         {if(str[j]==str[i]){total++;str[100]=str[i];}
      |                                     ~~~^~~~~
foo.c:5:10: note: while referencing 'str'
    5 |     char str[100]={0};
      |          ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 284.0 KiB
#2 Accepted 1ms 284.0 KiB
#3 Accepted 1ms 284.0 KiB
#4 Accepted 2ms 284.0 KiB
#5 Accepted 1ms 284.0 KiB

信息

递交者
类型
递交
题目
P1484 J. Every cloud has a silver lining
比赛
2023年新生赛(第二场)
语言
C
递交时间
2023-08-25 10:55:51
评测时间
2023-08-25 10:55:51
评测机
分数
100
总耗时
8ms
峰值内存
284.0 KiB