/ 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 4ms 384.0 KiB

信息

递交者
类型
自测
题目
P1619 流星雨
语言
C++
递交时间
2022-07-19 18:08:06
评测时间
2022-07-19 18:08:06
评测机
分数
10
总耗时
4ms
峰值内存
384.0 KiB