/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (x==0&&a[temp]==0||x==1&&a[temp]==1) temp-=y; else
       ~~~~^~~~~~~~~~~~
/in/foo.cc:14:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (x==0&&a[temp]==1||x==1&&a[temp]==0) temp+=y; 
       ~~~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 352.0 KiB
#2 Accepted 3ms 364.0 KiB
#3 Accepted 2ms 364.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Accepted 4ms 352.0 KiB
#6 Accepted 3ms 256.0 KiB
#7 Accepted 3ms 376.0 KiB
#8 Accepted 4ms 256.0 KiB
#9 Accepted 3ms 372.0 KiB
#10 Accepted 1ms 364.0 KiB
#11 Accepted 3ms 320.0 KiB
#12 Accepted 3ms 328.0 KiB
#13 Accepted 4ms 256.0 KiB
#14 Accepted 2ms 272.0 KiB
#15 Accepted 3ms 344.0 KiB
#16 Accepted 3ms 256.0 KiB
#17 Accepted 88ms 3.625 MiB
#18 Accepted 111ms 3.625 MiB
#19 Accepted 88ms 3.625 MiB
#20 Accepted 114ms 3.699 MiB

信息

递交者
类型
递交
题目
P2003 玩具谜题
语言
C++
递交时间
2017-09-02 17:17:52
评测时间
2017-09-02 17:17:52
评测机
分数
100
总耗时
459ms
峰值内存
3.699 MiB