/ OPS /

记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:7:2: warning: 'gets' is deprecated [-Wdeprecated-declarations]
    7 |  while(gets(arr)){
      |  ^~~~~
In file included from /usr/include/stdio.h:867,
                 from /in/foo.c:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:235:1: note: declared here
  235 | gets (char *__str)
      | ^~~~
/usr/bin/ld: /tmp/cc7xZjZL.o: in function `main':
foo.c:(.text.startup+0x31): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Runtime Error 1ms 304.0 KiB

信息

递交者
类型
递交
语言
C
递交时间
2023-05-27 21:00:37
评测时间
2023-08-04 23:01:31
评测机
分数
0
总耗时
1ms
峰值内存
304.0 KiB