/ OK /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:19:2: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(&b[1]);
  ^
In file included from /usr/include/c++/5/cstdio:42:0,
                 from /usr/include/c++/5/ext/string_conversions.h:43,
                 from /usr/include/c++/5/bits/basic_string.h:5249,
                 from /usr/include/c++/5/string:52,
                 from /usr/include/c++/5/bits/locale_classes.h:40,
                 from /usr/include/c++/5/bits/ios_base.h:41,
                 from /usr/include/c++/5/ios:42,
                 from /usr/include/c++/5/ostream:38,
                 from /usr/include/c++/5/iostream:39,
                 from /in/foo.cc:1:
/usr/include/stdio.h:638:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^
/in/foo.cc:19:2: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(&b[1]);
  ^
In file included from /usr/include/c++/5/cstdio:42:0,
                 from /usr/include/c++/5/ext/string_conversions.h:43,
                 from /usr/include/c++/5/bits/basic_string.h:5249,
                 from /usr/include/c++/5/string:52,
                 from /usr/include/c++/5/bits/locale_classes.h:40,
                 from /usr/include/c++/5/bits/ios_base.h:41,
                 from /usr/include/c++/5/ios:42,
                 from /usr/include/c++/5/ostream:38,
                 from /usr/include/c++/5/iostream:39,
                 from /in/foo.cc:1:
/usr/include/stdio.h:638:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^
/in/foo.cc:19:12: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(&b[1]);
            ^
In file included from /usr/include/c++/5/cstdio:42:0,
                 from /usr/include/c++/5/ext/string_conversions.h:43,
                 from /usr/include/c++/5/bits/basic_string.h:5249,
                 from /usr/include/c++/5/string:52,
                 from /usr/include/c++/5/bits/locale_classes.h:40,
                 from /usr/include/c++/5/bits/ios_base.h:41,
                 from /usr/include/c++/5/ios:42,
                 from /usr/include/c++/5/ostream:38,
                 from /usr/include/c++/5/iostream:39,
                 from /in/foo.cc:1:
/usr/include/stdio.h:638:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^
# 状态 耗时 内存占用
#1 Accepted 91ms 27.0 MiB
#2 Accepted 88ms 27.0 MiB
#3 Accepted 93ms 27.039 MiB
#4 Accepted 94ms 27.0 MiB
#5 Accepted 96ms 27.0 MiB
#6 Accepted 90ms 27.0 MiB
#7 Accepted 109ms 27.0 MiB
#8 Accepted 102ms 27.125 MiB
#9 Accepted 108ms 27.0 MiB
#10 Accepted 176ms 27.125 MiB
#11 Accepted 17ms 27.0 MiB
#12 Accepted 26ms 27.09 MiB
#13 Accepted 13ms 27.125 MiB
#14 Accepted 11ms 27.0 MiB
#15 Accepted 20ms 27.004 MiB
#16 Accepted 20ms 27.125 MiB
#17 Accepted 46ms 27.086 MiB
#18 Accepted 171ms 27.0 MiB
#19 Accepted 24ms 27.0 MiB
#20 Accepted 101ms 27.113 MiB

信息

递交者
类型
递交
题目
积木塔(tower)
语言
C++
递交时间
2017-03-30 19:39:05
评测时间
2017-03-30 19:39:06
评测机
分数
200
总耗时
1506ms
峰值内存
27.125 MiB