记录详情

Accepted

foo.c: In function 'main':
foo.c:6:10: warning: unused variable 'j' [-Wunused-variable]
    6 |  int n,i,j,ans=0,left,right;
      |          ^
foo.c:8:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    8 |  scanf("%d",&n);
      |  ^~~~~~~~~~~~~~
foo.c:9:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    9 |  scanf("%s",s);
      |  ^~~~~~~~~~~~~
foo.c:16:7: warning: 'left' may be used uninitialized in this function [-Wmaybe-uninitialized]
   16 |  for(i=left+1;i<n;i++)
      |      ~^~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Accepted 1ms 256.0 KiB
#7 Accepted 1ms 256.0 KiB
#8 Accepted 2ms 256.0 KiB
#9 Accepted 2ms 256.0 KiB
#10 Accepted 2ms 384.0 KiB
#11 Accepted 2ms 256.0 KiB
#12 Accepted 2ms 256.0 KiB
#13 Accepted 1ms 256.0 KiB
#14 Accepted 2ms 256.0 KiB
#15 Accepted 2ms 256.0 KiB
#16 Accepted 2ms 256.0 KiB
#17 Accepted 2ms 256.0 KiB
#18 Accepted 1ms 256.0 KiB
#19 Accepted 1ms 256.0 KiB
#20 Accepted 1ms 256.0 KiB
#21 Accepted 1ms 256.0 KiB
#22 Accepted 1ms 256.0 KiB
#23 Accepted 1ms 256.0 KiB
#24 Accepted 2ms 256.0 KiB
#25 Accepted 2ms 256.0 KiB
#26 Accepted 2ms 256.0 KiB
#27 Accepted 1ms 256.0 KiB
#28 Accepted 2ms 256.0 KiB
#29 Accepted 1ms 256.0 KiB
#30 Accepted 1ms 256.0 KiB
#31 Accepted 1ms 256.0 KiB
#32 Accepted 2ms 256.0 KiB
#33 Accepted 2ms 256.0 KiB
#34 Accepted 2ms 256.0 KiB
#35 Accepted 1ms 256.0 KiB
#36 Accepted 1ms 256.0 KiB
#37 Accepted 1ms 256.0 KiB
#38 Accepted 1ms 256.0 KiB
#39 Accepted 1ms 256.0 KiB
#40 Accepted 1ms 256.0 KiB
#41 Accepted 1ms 256.0 KiB
#42 Accepted 1ms 256.0 KiB
#43 Accepted 2ms 256.0 KiB
#44 Accepted 1ms 256.0 KiB
#45 Accepted 1ms 256.0 KiB
#46 Accepted 1ms 256.0 KiB
#47 Accepted 1ms 256.0 KiB
#48 Accepted 2ms 256.0 KiB
#49 Accepted 1ms 256.0 KiB
#50 Accepted 1ms 256.0 KiB
#51 Accepted 1ms 256.0 KiB
#52 Accepted 3ms 256.0 KiB
#53 Accepted 2ms 256.0 KiB
#54 Accepted 2ms 256.0 KiB
#55 Accepted 1ms 256.0 KiB
#56 Accepted 1ms 256.0 KiB
#57 Accepted 1ms 256.0 KiB
#58 Accepted 1ms 256.0 KiB
#59 Accepted 1ms 256.0 KiB
#60 Accepted 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1349 2A 01序列
比赛
悬赏令第二周
语言
C
递交时间
2022-04-04 19:06:19
评测时间
2022-04-04 19:06:19
评测机
分数
120
总耗时
116ms
峰值内存
384.0 KiB