/ WHOJ /

记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:71:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   71 |  scanf("%d%d",&n,&m);
      |  ~~~~~^~~~~~~~~~~~~~
foo.cc:73:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   73 |   scanf("%d",&a[i]),b[i]=a[i];
      |   ~~~~~^~~~~~~~~~~~
foo.cc:76:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   76 |   scanf("%d%d",&x,&y);
      |   ~~~~~^~~~~~~~~~~~~~
foo.cc:88:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   88 |   scanf("%d%d",&x,&y);
      |   ~~~~~^~~~~~~~~~~~~~
Found 4 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 512.0 KiB
#2 Accepted 696ms 51.742 MiB
#3 Accepted 437ms 4.492 MiB
#4 Time Exceeded ≥1102ms ≥28.746 MiB

信息

递交者
类型
递交
题目
P1160 Count on a tree II/【模板】树分块
题目数据
下载
语言
C++
递交时间
2022-05-22 11:59:31
评测时间
2022-05-22 11:59:31
评测机
分数
75
总耗时
≥2237ms
峰值内存
≥51.742 MiB