记录详情

Runtime Error

foo.c: In function 'main':
foo.c:12:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%c", &a[0]);
  ^~~~~~~~~~~~~~~~~~
foo.c:16:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%c", &a[i]);
   ^~~~~~~~~~~~~~~~~~
foo.c: In function 'compare':
foo.c:45:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 0ms 256.0 KiB
#2 Accepted 0ms 256.0 KiB
#3 Runtime Error Segmentation fault 131ms 208.0 KiB
#4 Runtime Error Segmentation fault 131ms 284.0 KiB
#5 Runtime Error Segmentation fault 131ms 284.0 KiB
#6 Runtime Error Segmentation fault 131ms 216.0 KiB
#7 Runtime Error Segmentation fault 12ms 800.0 KiB
#8 Runtime Error Segmentation fault 12ms 720.0 KiB
#9 Runtime Error Segmentation fault 27ms 740.0 KiB
#10 Runtime Error Segmentation fault 13ms 724.0 KiB

信息

递交者
类型
递交
题目
P1301 H. String Shifting
语言
C
递交时间
2021-11-22 18:39:36
评测时间
2021-11-22 18:39:36
评测机
分数
30
总耗时
593ms
峰值内存
800.0 KiB