记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:5: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
     gets(s);
     ^~~~
In file included from /usr/include/c++/6/cstdio:42:0,
                 from /in/foo.cc:1:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/in/foo.cc:12:11: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
     gets(s);
           ^
In file included from /usr/include/c++/6/cstdio:42:0,
                 from /in/foo.cc:1:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/tmp/ccX8SaGR.o: In function `main':
foo.cc:(.text.startup+0x16): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Accepted 6ms 5.0 MiB
#2 Accepted 4ms 5.867 MiB
#3 Accepted 18ms 8.004 MiB
#4 Accepted 6ms 6.125 MiB
#5 Accepted 8ms 6.207 MiB
#6 Accepted 4ms 5.086 MiB
#7 Accepted 7ms 5.875 MiB
#8 Accepted 23ms 5.887 MiB
#9 Accepted 18ms 11.23 MiB
#10 Accepted 8ms 5.863 MiB

信息

递交者
类型
递交
题目
2、最长合法括号序列
题目数据
下载
语言
C++
递交时间
2018-07-29 18:04:19
评测时间
2018-07-29 18:04:19
评测机
分数
100
总耗时
108ms
峰值内存
11.23 MiB