Accepted

foo.cc: In function 'void down(int, int, int)':
foo.cc:40:13: warning: unused variable 'm' [-Wunused-variable]
         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]
         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]
         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]
     scanf("%d %d", &n, &m);
     ~~~~~^~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Accepted 2ms 256.0 KiB
#7 Accepted 42ms 2.676 MiB
#8 Accepted 62ms 2.699 MiB
#9 Accepted 84ms 2.707 MiB
#10 Accepted 116ms 4.566 MiB
#11 Accepted 113ms 2.703 MiB
#12 Accepted 142ms 2.691 MiB
#13 Accepted 197ms 2.711 MiB
#14 Accepted 142ms 2.707 MiB
#15 Accepted 794ms 20.156 MiB
#16 Accepted 1037ms 20.152 MiB
#17 Accepted 1011ms 20.16 MiB
#18 Accepted 1270ms 20.156 MiB
#19 Accepted 1493ms 20.16 MiB
#20 Accepted 1575ms 20.164 MiB

信息

递交者
类型
递交
题目
P1398 借教室
语言
C++
递交时间
2021-08-15 10:56:22
评测时间
2021-08-15 11:01:08
评测机
分数
100
总耗时
8092ms
峰值内存
20.164 MiB