记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:8:2: warning: 'gets' is deprecated [-Wdeprecated-declarations]
  gets(n);
  ^~~~
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/ccJM3PzA.o: In function `main':
foo.c:(.text.startup+0x11): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Runtime Error 1ms 292.0 KiB
#2 Runtime Error 0ms 312.0 KiB
#3 Runtime Error 1ms 280.0 KiB
#4 Runtime Error 1ms 360.0 KiB
#5 Runtime Error 1ms 360.0 KiB
#6 Runtime Error 1ms 272.0 KiB
#7 Runtime Error 1ms 328.0 KiB
#8 Runtime Error 1ms 316.0 KiB
#9 Accepted 0ms 272.0 KiB
#10 Accepted 0ms 228.0 KiB

信息

递交者
类型
递交
题目
P1479 E. Jumpy Dumpty
语言
C
递交时间
2024-08-22 15:07:11
评测时间
2024-08-22 15:07:11
评测机
分数
20
总耗时
10ms
峰值内存
360.0 KiB