记录详情

Time Exceeded

/in/foo.cc: In function 'bool check(int, int)':
/in/foo.cc:9:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(1<=x<=n&&1<=y<=n&&x!=y) return true;
     ~^~~
/in/foo.cc:9:15: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(1<=x<=n&&1<=y<=n&&x!=y) return true;
              ~^~~
/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:29:7: warning: left operand of comma operator has no effect [-Wunused-value]
  if(tx>n,ty>n)
     ~~^~
/in/foo.cc: In function 'bool checktwo(int, int)':
/in/foo.cc:26:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 368.0 KiB
#2 Wrong Answer 1ms 336.0 KiB
#3 Wrong Answer 1ms 360.0 KiB
#4 Wrong Answer 2ms 344.0 KiB
#5 Time Exceeded ≥1001ms ≥336.0 KiB
#6 Wrong Answer 889ms 436.0 KiB
#7 Time Exceeded ≥1006ms ≥360.0 KiB
#8 Wrong Answer 2ms 360.0 KiB
#9 Wrong Answer 1ms 388.0 KiB
#10 Wrong Answer 1ms 400.0 KiB

信息

递交者
类型
递交
题目
#2、奶牛
比赛
2018-2019年上学期信息学奥赛期末测试
题目数据
下载
语言
C++
递交时间
2019-01-03 21:02:37
评测时间
2023-09-09 17:21:30
评测机
分数
0
总耗时
≥2910ms
峰值内存
≥436.0 KiB