/ 大熊 /

记录详情

Accepted

/in/foo.cc: In function 'void scan()':
/in/foo.cc:89:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if(x==-1 && y!=-1 || (y!=-1 && x!=-1 && x>y)){
        ~~~~~~^~~~~~~~
/in/foo.cc:136:3: warning: 'check_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(check_num== ans)
   ^~
/in/foo.cc:94:23: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
     if(x!=-1 && y!=-1 && x<y)
        ~~~~~~~~~~~~~~~^~~~~~
/in/foo.cc:94:23: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
# 状态 耗时 内存占用
#1 Accepted 4ms 348.0 KiB
#2 Accepted 3ms 352.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 3ms 340.0 KiB
#5 Accepted 3ms 352.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 3ms 376.0 KiB
#8 Accepted 3ms 380.0 KiB
#9 Accepted 3ms 384.0 KiB
#10 Accepted 3ms 380.0 KiB

信息

递交者
类型
递交
题目
complexity
语言
C++
递交时间
2017-11-21 20:19:06
评测时间
2017-11-21 20:19:06
评测机
分数
100
总耗时
34ms
峰值内存
384.0 KiB