/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:30:18: warning: unused variable 'pp' [-Wunused-variable]
  int t = 3,p = 4,pp = 4;
                  ^~
/in/foo.cc:45:9: warning: iteration 549996 invokes undefined behavior [-Waggressive-loop-optimizations]
    f[p] = f[p-1]+t;
    ~~~~~^~~~~~~~~~
/in/foo.cc:43:11: note: within this loop
   while(p < N) {
           ^
/in/foo.cc:37:9: warning: iteration 549997 invokes undefined behavior [-Waggressive-loop-optimizations]
    f[p] = f[p-1]+t;
    ~~~~~^~~~~~~~~~
/in/foo.cc:33:11: note: within this loop
   while(p < N) {
           ^
# 状态 耗时 内存占用
#1 Wrong Answer 6ms 4.484 MiB
#2 Wrong Answer 6ms 4.484 MiB

信息

递交者
类型
递交
题目
P1542 zgx的跳棋游戏
语言
C++
递交时间
2017-10-17 20:19:05
评测时间
2017-10-17 20:19:05
评测机
分数
0
总耗时
13ms
峰值内存
4.484 MiB