记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:69:9: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  while (gets(data)){
         ^~~~
In file included from /in/foo.cc:1:0:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/in/foo.cc:69:18: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  while (gets(data)){
                  ^
In file included from /in/foo.cc:1:0:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/tmp/cc0ALsPG.o: In function `main':
foo.cc:(.text.startup+0x13): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Accepted 3ms 344.0 KiB

信息

递交者
类型
递交
题目
Immediate Decodability
题目数据
下载
语言
C++
递交时间
2018-08-03 16:23:01
评测时间
2018-08-03 16:23:01
评测机
分数
10
总耗时
3ms
峰值内存
344.0 KiB