/ WHOJ /

记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:33:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   33 |         for(int i=1;i<=m1;i++) cin>>a[i].come >>a[i].leave;sort(a+1,a+1+m1,cmp);
      |         ^~~
foo.cc:33:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   33 |         for(int i=1;i<=m1;i++) cin>>a[i].come >>a[i].leave;sort(a+1,a+1+m1,cmp);
      |                                                            ^~~~
foo.cc:34:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   34 |         for(int i=1;i<=m2;i++) cin>>b[i].come >>b[i].leave;     sort(b+1,b+1+m2,cmp);
      |         ^~~
foo.cc:34:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   34 |         for(int i=1;i<=m2;i++) cin>>b[i].come >>b[i].leave;     sort(b+1,b+1+m2,cmp);
      |                                                                 ^~~~
Found 20 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 376.0 KiB
#2 Accepted 4ms 392.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 4ms 384.0 KiB
#5 Accepted 6ms 384.0 KiB
#6 Accepted 9ms 640.0 KiB
#7 Accepted 32ms 632.0 KiB
#8 Accepted 21ms 512.0 KiB
#9 Accepted 35ms 1.242 MiB
#10 Time Exceeded ≥1067ms ≥3.988 MiB
#11 Time Exceeded ≥1066ms ≥3.762 MiB
#12 Time Exceeded ≥1063ms ≥3.492 MiB
#13 Time Exceeded ≥1054ms ≥3.863 MiB
#14 Time Exceeded ≥1058ms ≥3.43 MiB
#15 Accepted 217ms 3.992 MiB
#16 Accepted 66ms 3.367 MiB
#17 Time Exceeded ≥1079ms ≥4.535 MiB
#18 Time Exceeded ≥1091ms ≥3.988 MiB
#19 Time Exceeded ≥1060ms ≥3.805 MiB
#20 Time Exceeded ≥1085ms ≥3.461 MiB

信息

递交者
类型
递交
题目
P1545 [CSP-S 2021] 廊桥分配
题目数据
下载
语言
C++
递交时间
2022-09-13 17:49:31
评测时间
2022-09-13 17:49:31
评测机
分数
55
总耗时
≥10033ms
峰值内存
≥4.535 MiB