/ 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:87:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   87 |     scanf("%d %d", &n, &m);
      |     ~~~~~^~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 2ms 256.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Accepted 2ms 256.0 KiB
#7 Accepted 29ms 2.625 MiB
#8 Accepted 53ms 2.617 MiB
#9 Accepted 52ms 2.625 MiB
#10 Accepted 67ms 2.625 MiB
#11 Accepted 64ms 2.625 MiB
#12 Accepted 82ms 2.625 MiB
#13 Accepted 169ms 2.617 MiB
#14 Accepted 88ms 2.625 MiB
#15 Accepted 694ms 20.117 MiB
#16 Accepted 963ms 20.117 MiB
#17 Accepted 997ms 20.117 MiB
#18 Accepted 1230ms 20.117 MiB
#19 Accepted 1438ms 20.117 MiB
#20 Accepted 1843ms 20.117 MiB

信息

递交者
类型
递交
题目
P1782 借教室
语言
C++
递交时间
2022-05-17 20:55:13
评测时间
2022-05-17 21:00:53
评测机
分数
100
总耗时
7791ms
峰值内存
20.117 MiB