记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:11:15: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
   11 |  gets( szLine1);
      |               ^
In file included from /usr/include/stdio.h:867,
                 from foo.cc:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:235:1: note: declared here
  235 | gets (char *__str)
      | ^~~~
foo.cc:11:15: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
   11 |  gets( szLine1);
      |               ^
In file included from /usr/include/stdio.h:867,
                 from foo.cc:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:235:1: note: declared here
  235 | gets (char *__str)
      | ^~~~
foo.cc:12:15: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
   12 |  gets( szLine2);
      |               ^
In file included from /usr/include/stdio.h:867,
                 from foo.cc:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:235:1: note: declared here
  235 | gets (char *__str)
      | ^~~~
foo.cc:12:15: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
   12 |  gets( szLine2);
      |               ^
In file included from /usr/include/stdio.h:867,
                 from foo.cc:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:235:1: note: declared here
  235 | gets (char *__str)
      | ^~~~
foo.cc:11:6: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result [-Wunused-result]
   11 |  gets( szLine1);
      |  ~~~~^~~~~~~~~~
foo.cc:12:6: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result [-Wunused-result]
   12 |  gets( szLine2);
      |  ~~~~^~~~~~~~~~
/usr/bin/ld: /tmp/ccgCz3ZD.o: in function `main':
foo.cc:(.text.startup+0x1c): warning: the `gets' function is dangerous and should not be used.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 4294967888200, expect 61917364224. 2ms 256.0 KiB
#2 Wrong Answer Read 429497453649, expect 1365065722500322.... 2ms 256.0 KiB
#3 Wrong Answer Read 4301903545000, expect 5941898266428969.... 1ms 256.0 KiB
#4 Wrong Answer Read 42954050905000, expect 2131375077018650.... 1ms 256.0 KiB
#5 Wrong Answer Read 42950076441000, expect 1024000000000000.... 2ms 256.0 KiB

信息

递交者
类型
递交
题目
A11-4 高精度整数之间的乘法
比赛
2022暑期青少年社团(训练赛)
语言
C++
递交时间
2022-08-07 21:02:07
评测时间
2022-08-07 21:02:07
评测机
分数
0
总耗时
10ms
峰值内存
256.0 KiB