/ Vijos /

记录详情

Accepted

foo.cc: In function 'void update(int, int, int, int, int, int)':
foo.cc:33:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 int mid = l + r >> 1;
           ~~^~~
foo.cc: In function 'int main()':
foo.cc:59:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 for (int i = 0; i < events.size(); i++) {
                 ~~^~~~~~~~~~~~~~~
foo.cc:40:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d%d%d%d%d", &n, &f, &a, &b, &k);
 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 512.0 KiB
#2 Accepted 2ms 440.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 512.0 KiB
#5 Accepted 9ms 1.109 MiB
#6 Accepted 8ms 1.109 MiB
#7 Accepted 11ms 1.164 MiB
#8 Accepted 4ms 668.0 KiB
#9 Accepted 9ms 1.09 MiB

信息

递交者
类型
递交
题目
P1619 流星雨
语言
C++
递交时间
2021-08-30 13:51:55
评测时间
2021-08-30 13:51:55
评测机
分数
100
总耗时
52ms
峰值内存
1.164 MiB