记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:2: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(a);gets(b);
  ^~~~
In file included from /in/foo.cc:2:0:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/in/foo.cc:8:8: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(a);gets(b);
        ^
In file included from /in/foo.cc:2:0:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/in/foo.cc:8:10: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(a);gets(b);
          ^~~~
In file included from /in/foo.cc:2:0:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/in/foo.cc:8:16: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(a);gets(b);
                ^
In file included from /in/foo.cc:2:0:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/tmp/ccLJgIQd.o: In function `main':
foo.cc:(.text.startup+0x16): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Accepted 32ms 4.078 MiB
#2 Accepted 31ms 3.645 MiB
#3 Accepted 11ms 640.0 KiB
#4 Accepted 37ms 4.172 MiB
#5 Accepted 23ms 2.734 MiB
#6 Accepted 20ms 3.02 MiB
#7 Accepted 18ms 2.359 MiB
#8 Accepted 32ms 4.609 MiB
#9 Accepted 18ms 2.172 MiB
#10 Accepted 17ms 2.426 MiB
#11 Accepted 18ms 384.0 KiB
#12 Accepted 29ms 4.145 MiB
#13 Accepted 25ms 1.895 MiB
#14 Accepted 24ms 1.406 MiB
#15 Accepted 41ms 3.359 MiB
#16 Accepted 39ms 4.797 MiB
#17 Accepted 35ms 4.832 MiB
#18 Accepted 16ms 1.332 MiB
#19 Accepted 25ms 2.094 MiB
#20 Accepted 27ms 4.828 MiB
#21 Accepted 16ms 3.578 MiB
#22 Accepted 35ms 3.422 MiB
#23 Accepted 29ms 3.395 MiB
#24 Accepted 16ms 1.75 MiB
#25 Accepted 21ms 3.734 MiB

信息

递交者
类型
递交
题目
字符串匹配
语言
C++
递交时间
2018-08-25 20:53:25
评测时间
2018-08-25 20:53:25
评测机
分数
100
总耗时
647ms
峰值内存
4.832 MiB