/ TYWZ /

记录详情

Accepted

/in/foo.cc: In function 'int half(int)':
/in/foo.cc:31:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         mid=begin+end>>1;
             ~~~~~^~~~
/in/foo.cc:27:19: warning: 'mid' may be used uninitialized in this function [-Wmaybe-uninitialized]
     int begin,end,mid;
                   ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 204.0 KiB
#2 Accepted 1ms 200.0 KiB
#3 Accepted 2ms 332.0 KiB
#4 Accepted 3ms 328.0 KiB
#5 Accepted 5ms 332.0 KiB
#6 Accepted 5ms 332.0 KiB
#7 Accepted 3ms 328.0 KiB
#8 Accepted 3ms 324.0 KiB
#9 Accepted 4ms 336.0 KiB
#10 Accepted 5ms 348.0 KiB
#11 Accepted 5ms 376.0 KiB
#12 Accepted 5ms 332.0 KiB

信息

递交者
类型
递交
题目
P1043 友好城市
比赛
动态规划基础练习(一)
语言
C++
递交时间
2019-04-23 16:40:53
评测时间
2019-04-23 16:40:53
评测机
分数
120
总耗时
48ms
峰值内存
376.0 KiB