/ Vijos /

记录详情

Accepted

foo.cc: In function ‘int read()’:
foo.cc:20:5: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation]
   20 |     while(ch>=48&&ch<=57)
      |     ^~~~~
foo.cc:22:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’
   22 |         return x*f;
      |         ^~~~~~
foo.cc: In function ‘int bu(int, int)’:
foo.cc:153:20: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
  153 |         int mid = l+r>>1;
      |                   ~^~
# 状态 耗时 内存占用
#1 Accepted 14ms 11.996 MiB
#2 Accepted 16ms 11.988 MiB
#3 Accepted 82ms 12.801 MiB
#4 Accepted 170ms 13.246 MiB
#5 Accepted 288ms 12.742 MiB
#6 Accepted 264ms 15.242 MiB
#7 Accepted 460ms 15.664 MiB
#8 Accepted 325ms 31.246 MiB
#9 Accepted 449ms 29.684 MiB
#10 Accepted 359ms 31.242 MiB

信息

递交者
类型
递交
题目
P1835 维护数列
语言
C++
递交时间
2025-07-24 20:39:38
评测时间
2025-07-24 20:39:38
评测机
分数
100
总耗时
2433ms
峰值内存
31.246 MiB