/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:33:12: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations]
    f[x+mx[i]][y+my[i]]=1;
        ~~~~^
/in/foo.cc:3:33: note: within this loop
 #define rep(i,a,b) for(int i=a;i<=b;i++)
                                  
/in/foo.cc:32:8:
    rep(i,1,9)
        ~~~~~                     
/in/foo.cc:32:4: note: in expansion of macro 'rep'
    rep(i,1,9)
    ^~~
# 状态 耗时 内存占用
#1 Accepted 28ms 256.0 KiB
#2 Accepted 2ms 360.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Accepted 3ms 304.0 KiB
#6 Accepted 3ms 356.0 KiB
#7 Accepted 3ms 372.0 KiB
#8 Accepted 8ms 256.0 KiB
#9 Accepted 171ms 492.0 KiB
#10 Accepted 198ms 364.0 KiB

信息

递交者
类型
递交
题目
P1121 马拦过河卒
语言
C++
递交时间
2017-08-15 21:48:09
评测时间
2017-08-15 21:48:09
评测机
分数
100
总耗时
426ms
峰值内存
492.0 KiB