/ WHOJ /

记录详情

Accepted

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 Accepted 4ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 3ms 512.0 KiB
#5 Accepted 4ms 512.0 KiB
#6 Accepted 3ms 640.0 KiB
#7 Accepted 6ms 768.0 KiB
#8 Accepted 8ms 1.0 MiB
#9 Accepted 23ms 1.742 MiB
#10 Accepted 33ms 3.125 MiB

信息

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