/ WHOJ /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:78:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   78 |     scanf("%lld%lld",&n,&m);
      |     ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:82:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   82 |         scanf("%lld",&a1[i].a);
      |         ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:97:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   97 |         scanf("%lld%lld",&a[i].x,&a[i].y);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:77:15: warning: 'num' may be used uninitialized in this function [-Wmaybe-uninitialized]
   77 |     long long num;
      |               ^~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Wrong Answer Read 1933554, expect 2900331. 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Wrong Answer Read 9140978, expect 11519364. 2ms 512.0 KiB
#5 Wrong Answer Read 9412898, expect 9461915. 4ms 636.0 KiB
#6 Wrong Answer Read 190972034, expect 264809811. 3ms 512.0 KiB
#7 Accepted 5ms 768.0 KiB
#8 Accepted 8ms 1.125 MiB
#9 Accepted 15ms 1.875 MiB
#10 Accepted 25ms 3.25 MiB

信息

递交者
类型
递交
题目
P1159 歴史の研究
题目数据
下载
语言
C++
递交时间
2022-05-28 20:45:48
评测时间
2022-05-28 20:45:48
评测机
分数
60
总耗时
74ms
峰值内存
3.25 MiB