/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:22:5: warning: variable 'l' set but not used [-Wunused-but-set-variable]
   22 | int l,r,d,t;
      |     ^
foo.cc:22:9: warning: unused variable 'd' [-Wunused-variable]
   22 | int l,r,d,t;
      |         ^
foo.cc:22:11: warning: unused variable 't' [-Wunused-variable]
   22 | int l,r,d,t;
      |           ^
foo.cc:9:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    9 | scanf("%d%d",&n,&q);
      | ~~~~~^~~~~~~~~~~~~~
foo.cc:14:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   14 | scanf("%d",&a[i]);
      | ~~~~~^~~~~~~~~~~~
foo.cc:46:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   46 | scanf("%d",&r);
      | ~~~~~^~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 51ms 38.621 MiB
#2 Accepted 48ms 38.625 MiB
#3 Accepted 66ms 38.625 MiB
#4 Accepted 48ms 38.625 MiB
#5 Accepted 47ms 38.992 MiB
#6 Accepted 53ms 38.992 MiB
#7 Accepted 87ms 59.117 MiB
#8 Accepted 124ms 79.742 MiB
#9 Accepted 123ms 79.617 MiB
#10 Accepted 131ms 79.617 MiB

信息

递交者
类型
递交
题目
P1471 教主的游乐场
语言
C++
递交时间
2022-04-15 11:25:06
评测时间
2022-04-15 11:25:06
评测机
分数
100
总耗时
783ms
峰值内存
79.742 MiB