/ Vijos /

记录详情

Accepted

foo.cc: In function 'void down(int, int, int)':
foo.cc:40:13: warning: unused variable 'm' [-Wunused-variable]
   40 |         int m = L + (R - L) / 2;
      |             ^
foo.cc: In function 'void solve(int, int)':
foo.cc:72:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   72 |         scanf("%d %d %d", &c, &a, &b);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'void init(int, int)':
foo.cc:82:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   82 |         scanf("%d", &data[i]);
      |         ~~~~~^~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:88:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   88 |     scanf("%d %d", &n, &m);
      |     ~~~~~^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 2ms 308.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 2ms 256.0 KiB
#7 Accepted 34ms 3.984 MiB
#8 Accepted 47ms 4.117 MiB
#9 Accepted 80ms 4.449 MiB
#10 Accepted 88ms 4.617 MiB
#11 Accepted 80ms 4.617 MiB
#12 Accepted 120ms 4.867 MiB
#13 Accepted 115ms 5.117 MiB
#14 Accepted 108ms 4.867 MiB
#15 Accepted 630ms 33.469 MiB
#16 Accepted 916ms 35.742 MiB
#17 Accepted 986ms 38.617 MiB
#18 Accepted 1203ms 41.367 MiB
#19 Accepted 1471ms 44.117 MiB
#20 Accepted 1567ms 45.367 MiB

信息

递交者
类型
递交
题目
P1782 借教室
语言
C++
递交时间
2022-02-28 21:32:05
评测时间
2022-02-28 21:32:05
评测机
分数
100
总耗时
7466ms
峰值内存
45.367 MiB