/ Vijos /

记录详情

Accepted

foo.cc: In function 'void update(int, int, int, int, int, int)':
foo.cc:33:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   33 | int mid = l + r >> 1;
      |           ~~^~~
foo.cc: In function 'int main()':
foo.cc:59:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Line>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   59 | 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]
   40 | scanf("%d%d%d%d%d", &n, &f, &a, &b, &k);
      | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 6ms 512.0 KiB
#2 Accepted 5ms 384.0 KiB
#3 Accepted 5ms 384.0 KiB
#4 Accepted 7ms 512.0 KiB
#5 Accepted 22ms 1.121 MiB
#6 Accepted 16ms 1020.0 KiB
#7 Accepted 19ms 1.121 MiB
#8 Accepted 10ms 640.0 KiB
#9 Accepted 16ms 1020.0 KiB

信息

递交者
类型
递交
题目
P1619 流星雨
语言
C++
递交时间
2022-01-08 20:19:13
评测时间
2022-01-08 20:19:13
评测机
分数
100
总耗时
110ms
峰值内存
1.121 MiB