/ OK /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:18: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:18: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:18: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 102ms 27.082 MiB
#2 Accepted 102ms 27.09 MiB
#3 Accepted 114ms 27.0 MiB
#4 Accepted 109ms 27.0 MiB
#5 Accepted 100ms 27.0 MiB
#6 Accepted 95ms 27.121 MiB
#7 Accepted 118ms 27.004 MiB
#8 Accepted 113ms 27.086 MiB
#9 Accepted 113ms 27.125 MiB
#10 Accepted 167ms 27.113 MiB
#11 Accepted 19ms 27.0 MiB
#12 Accepted 29ms 27.09 MiB
#13 Accepted 11ms 27.074 MiB
#14 Accepted 10ms 27.0 MiB
#15 Accepted 20ms 27.0 MiB
#16 Accepted 16ms 27.0 MiB
#17 Accepted 50ms 27.0 MiB
#18 Accepted 204ms 27.098 MiB
#19 Accepted 26ms 27.125 MiB
#20 Accepted 100ms 27.098 MiB

信息

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