/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:69:102: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if (fcmp(fabs(resp - phi), fabs(ansp - phi)) < 0 || fcmp(fabs(ansp - phi), fabs(resp - phi)) == 0 && res < ans1)
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc:23:33: warning: iteration 100009 invokes undefined behavior [-Waggressive-loop-optimizations]
   repu(i, 1, 100010) wingcnt[i] = 0;
                      ~~~~~~~~~~~^~~
/in/foo.cc:5:41: note: within this loop
 #define repu(i, x, y) for (int i = x; i <= y; i++)
                                          
/in/foo.cc:23:8:
   repu(i, 1, 100010) wingcnt[i] = 0;
        ~~~~~~~                           
/in/foo.cc:23:3: note: in expansion of macro 'repu'
   repu(i, 1, 100010) wingcnt[i] = 0;
   ^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 25ms 756.0 KiB
#2 Wrong Answer 23ms 604.0 KiB
#3 Time Exceeded ≥1003ms ≥728.0 KiB
#4 Time Exceeded ≥1001ms ≥640.0 KiB
#5 Time Exceeded ≥1005ms ≥600.0 KiB
#6 Time Exceeded ≥1002ms ≥768.0 KiB
#7 Time Exceeded ≥1007ms ≥720.0 KiB
#8 Time Exceeded ≥1003ms ≥768.0 KiB
#9 Time Exceeded ≥1003ms ≥768.0 KiB
#10 Time Exceeded ≥1003ms ≥768.0 KiB

信息

递交者
类型
递交
题目
P1237 隐形的翅膀
语言
C++
递交时间
2017-12-20 17:04:42
评测时间
2017-12-20 17:04:42
评测机
分数
0
总耗时
≥8080ms
峰值内存
≥768.0 KiB