记录详情

Accepted

/in/foo.cc: In function 'LL ms(int, int)':
/in/foo.cc:10:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:35:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
 else  cout<<"NO "<<ans<<endl;
 ^~~~
/in/foo.cc:36:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
  return 0;
  ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 328.0 KiB
#2 Accepted 28ms 736.0 KiB
#3 Accepted 45ms 1.051 MiB
#4 Accepted 24ms 688.0 KiB
#5 Accepted 9ms 516.0 KiB
#6 Accepted 14ms 580.0 KiB
#7 Accepted 44ms 1.043 MiB
#8 Accepted 22ms 684.0 KiB
#9 Accepted 30ms 860.0 KiB
#10 Accepted 34ms 876.0 KiB

信息

递交者
类型
递交
题目
P1435 3-3 科学刷题
比赛
2023年暑期算法队集训赛1
语言
C++
递交时间
2023-07-06 17:00:11
评测时间
2023-07-06 17:00:56
评测机
分数
100
总耗时
256ms
峰值内存
1.051 MiB