/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int cal(int, int, int)':
/in/foo.cc:60:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 for(int i=p;i<G[x].size();i++)//G[x][i].st>=st
             ~^~~~~~~~~~~~
/in/foo.cc:62:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if(G[x][i].st==st&&G[x][i].et==et||G[x][i].st!=st&&G[x][i].et<=et)
                       
# 状态 耗时 内存占用
#1 Accepted 2ms 1020.0 KiB
#2 Accepted 2ms 972.0 KiB
#3 Accepted 23ms 1.973 MiB
#4 Accepted 18ms 1.117 MiB
#5 Accepted 18ms 1.145 MiB
#6 Accepted 1ms 844.0 KiB
#7 Accepted 152ms 3.371 MiB
#8 Accepted 381ms 4.781 MiB
#9 Accepted 703ms 6.188 MiB
#10 Time Exceeded ≥1004ms ≥7.371 MiB

信息

递交者
类型
递交
题目
P1168 公路巡逻
语言
C++
递交时间
2024-07-05 11:26:38
评测时间
2024-07-05 11:26:38
评测机
分数
90
总耗时
≥2310ms
峰值内存
≥7.371 MiB