Accepted

foo.cc: In function 'int main()':
foo.cc:37:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   long long mid=l+r>>1;
                 ~^~
foo.cc:29:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&a[i]);
   ~~~~~^~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 400.0 KiB
#3 Accepted 15ms 2.008 MiB
#4 Accepted 16ms 1.855 MiB
#5 Accepted 18ms 2.113 MiB

信息

递交者
类型
递交
题目
「一本通 1.2 练习 1」数列分段 II
语言
C++
递交时间
2021-03-13 19:37:04
评测时间
2021-03-13 19:37:04
评测机
分数
100
总耗时
54ms
峰值内存
2.113 MiB