记录详情

Wrong Answer

/in/foo.cc: In function 'bool qs()':
/in/foo.cc:75:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(bs[l].z=3){
               ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:142:60: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  b[n+1].x=a[n+1].x=a1,b[n+1].y=a[n+1].y=a2,sl[n+1]=b[n+1].z=a[n+1].z=n+1;
                                                    ~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc:167:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(mtp=find_x(b1,b2+1)) 
                        ^
/in/foo.cc:169:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(mtp=find_x(b1+1,b2)) 
                        ^
/in/foo.cc:171:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(mtp=find_x(b1,b2-1)) 
                        ^
/in/foo.cc:173:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(mtp=find_x(b1-1,b2)) 
                        ^
/in/foo.cc:177:7: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
   int tmp;
       ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 324.0 KiB
#2 Accepted 1ms 332.0 KiB
#3 Accepted 1ms 328.0 KiB
#4 Wrong Answer 1ms 332.0 KiB
#5 Wrong Answer 3ms 588.0 KiB
#6 Wrong Answer 4ms 540.0 KiB
#7 Wrong Answer 6ms 804.0 KiB
#8 Accepted 11ms 1.184 MiB
#9 Wrong Answer 10ms 1.484 MiB
#10 Wrong Answer 11ms 1.316 MiB

信息

递交者
类型
递交
题目
P1040 Ice 冰上
语言
C++
递交时间
2020-02-09 10:20:05
评测时间
2020-02-09 17:15:57
评测机
分数
40
总耗时
54ms
峰值内存
1.484 MiB