/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:23:5: warning: variable 'l' set but not used [-Wunused-but-set-variable]
 int l,r,d,t;
     ^
foo.cc:23:9: warning: unused variable 'd' [-Wunused-variable]
 int l,r,d,t;
         ^
foo.cc:23:11: warning: unused variable 't' [-Wunused-variable]
 int l,r,d,t;
           ^
foo.cc:10:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d%d",&n,&q);
 ~~~~~^~~~~~~~~~~~~~
foo.cc:15:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d",&a[i]);
 ~~~~~^~~~~~~~~~~~
foo.cc:49:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d",&r);
 ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 37ms 38.652 MiB
#2 Accepted 37ms 38.625 MiB
#3 Accepted 37ms 38.656 MiB
#4 Accepted 36ms 38.691 MiB
#5 Accepted 38ms 39.039 MiB
#6 Accepted 38ms 39.066 MiB
#7 Accepted 80ms 59.324 MiB
#8 Accepted 139ms 79.922 MiB
#9 Accepted 148ms 80.207 MiB
#10 Accepted 147ms 80.285 MiB

信息

递交者
类型
递交
题目
P1471 教主的游乐场
语言
C++
递交时间
2021-07-21 20:55:59
评测时间
2021-07-21 20:55:59
评测机
分数
100
总耗时
740ms
峰值内存
80.285 MiB