记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:6:3: warning: 'gets' is deprecated [-Wdeprecated-declarations]
   gets(s);
   ^~~~
In file included from /in/foo.c:1:0:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/tmp/cc0gl5HI.o: In function `main':
foo.c:(.text.startup+0x20): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Accepted 1ms 276.0 KiB
#2 Accepted 1ms 212.0 KiB
#3 Wrong Answer 1ms 212.0 KiB
#4 Wrong Answer 1ms 212.0 KiB
#5 Wrong Answer 1ms 212.0 KiB
#6 Wrong Answer 1ms 200.0 KiB
#7 Runtime Error 1ms 312.0 KiB
#8 Runtime Error 1ms 316.0 KiB
#9 Runtime Error 1ms 320.0 KiB
#10 Runtime Error 1ms 324.0 KiB

信息

递交者
类型
递交
题目
P1301 H. String Shifting
比赛
南京师范大学2021年11月程序设计竞赛
语言
C
递交时间
2021-11-21 17:26:15
评测时间
2021-11-21 17:26:18
评测机
分数
30
总耗时
12ms
峰值内存
324.0 KiB