/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:19:2: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(ch);
  ^~~~
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:19:9: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(ch);
         ^
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/ccASKYL1.o: In function `main':
foo.cc:(.text.startup+0x38): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Accepted 35ms 96.0 MiB
#2 Accepted 37ms 96.0 MiB
#3 Accepted 29ms 96.0 MiB
#4 Accepted 34ms 96.0 MiB
#5 Accepted 35ms 96.0 MiB
#6 Accepted 36ms 95.965 MiB
#7 Accepted 34ms 96.074 MiB
#8 Accepted 35ms 95.941 MiB
#9 Accepted 77ms 96.012 MiB
#10 Accepted 148ms 96.0 MiB
#11 Accepted 114ms 96.0 MiB
#12 Accepted 113ms 96.07 MiB
#13 Accepted 25ms 96.0 MiB
#14 Accepted 30ms 96.0 MiB
#15 Accepted 96ms 96.0 MiB
#16 Accepted 74ms 96.0 MiB
#17 Accepted 128ms 96.074 MiB

信息

递交者
类型
递交
题目
P1327 回文词
语言
C++
递交时间
2017-08-08 10:34:16
评测时间
2017-08-08 10:34:16
评测机
分数
100
总耗时
1087ms
峰值内存
96.074 MiB