记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:31:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if((dp[i][n/2] && dp[sum-i][(n+1)/2] || dp[i][(n+1)/2] && dp[sum-i][n/2]) && sum-i-i<bet)
        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:37:26: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
   printf("%d %d\n", x, y);
                          ^
/in/foo.cc:37:26: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
# 状态 耗时 内存占用
#1 Accepted 6ms 6.5 MiB
#2 Accepted 6ms 6.5 MiB
#3 Accepted 4ms 6.508 MiB
#4 Accepted 10ms 6.5 MiB
#5 Accepted 20ms 6.445 MiB
#6 Accepted 63ms 6.438 MiB
#7 Accepted 5ms 6.453 MiB
#8 Accepted 140ms 6.605 MiB
#9 Accepted 10ms 6.516 MiB
#10 Accepted 326ms 6.594 MiB
#11 Accepted 3ms 6.609 MiB

信息

递交者
类型
递交
题目
资源分配
比赛
ACM模拟赛
语言
C++
递交时间
2017-08-21 13:45:30
评测时间
2017-08-21 13:45:30
评测机
分数
110
总耗时
596ms
峰值内存
6.609 MiB