/ 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 2ms 384.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Accepted 3ms 512.0 KiB
#5 Accepted 4ms 512.0 KiB
#6 Accepted 4ms 640.0 KiB
#7 Accepted 5ms 768.0 KiB
#8 Accepted 7ms 1.125 MiB
#9 Accepted 14ms 1.875 MiB
#10 Accepted 24ms 3.125 MiB

信息

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