/ Vijos /

记录详情

Accepted

foo.cc: In function 'int f1(int, int, double)':
foo.cc:13:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   13 |   mid = l + r >> 1;
      |         ~~^~~
foo.cc: In function 'int f2(int, int, double)':
foo.cc:23:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   23 |   mid = l + r + 1 >> 1;
      |         ~~~~~~^~~
foo.cc: In function 'int main()':
foo.cc:54:7: warning: 'ansy' may be used uninitialized in this function [-Wmaybe-uninitialized]
   54 |    << ansy << endl;
      |       ^~~~
foo.cc:53:10: warning: 'ansx' may be used uninitialized in this function [-Wmaybe-uninitialized]
   53 |  cout << ansx << endl
      |          ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 5ms 384.0 KiB
#3 Accepted 16ms 640.0 KiB
#4 Accepted 15ms 640.0 KiB
#5 Accepted 19ms 640.0 KiB
#6 Accepted 24ms 640.0 KiB
#7 Accepted 31ms 640.0 KiB
#8 Accepted 28ms 640.0 KiB
#9 Accepted 29ms 632.0 KiB
#10 Accepted 28ms 640.0 KiB

信息

递交者
类型
递交
题目
P1237 隐形的翅膀
语言
C++
递交时间
2022-01-03 10:37:40
评测时间
2022-01-03 10:37:40
评测机
分数
100
总耗时
202ms
峰值内存
640.0 KiB