/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:31:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if(a[q]+m<=9&&a[q]+m>0||a[q]-m<=9&&a[q]-m>0)
        ~~~~~~~~~^~~~~~~~~~
/in/foo.cc:39:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if(a[q]+m<=9&&a[q]+m>=0||a[q]-m<=9&&a[q]-m>=0)
        ~~~~~~~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 312.0 KiB
#2 Accepted 2ms 316.0 KiB
#3 Wrong Answer 3ms 324.0 KiB
#4 Time Exceeded ≥302ms ≥312.0 KiB
#5 Time Exceeded ≥305ms ≥308.0 KiB
#6 Time Exceeded ≥305ms ≥308.0 KiB
#7 Time Exceeded ≥305ms ≥308.0 KiB
#8 Time Exceeded ≥305ms ≥312.0 KiB
#9 Time Exceeded ≥303ms ≥324.0 KiB
#10 Time Exceeded ≥305ms ≥312.0 KiB

信息

递交者
类型
递交
题目
P2026 几乎奇偶等和数
比赛
金秋重聚模拟赛
语言
C++
递交时间
2017-10-07 21:50:02
评测时间
2017-10-07 21:50:36
评测机
分数
20
总耗时
≥2143ms
峰值内存
≥324.0 KiB