QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#278112#6873. King's RuinsHuangHanShengTL 0ms0kbC++231.3kb2023-12-07 12:20:582023-12-07 12:20:58

詳細信息

Test #1:

score: 0
Time Limit Exceeded

input:

5
50000
29954 49457 38367 14274 40054 329
30630 36548 13832 4639 22667 5831
30320 36380 15092 40037 34720 1641
14924 15618 6335 10644 6739 3669
12197 42170 43527 35301 9465 7322
14180 40399 20609 10068 44940 3818
6559 16341 18973 46831 15552 7395
14667 37690 12809 49774 22576 7592
11896 6627 17112 3...

output:

329
5831
1641
3669
7322
3818
7395
7592
6690
17239
7847
10337
6491
14257
1471
4580
8556
14283
384
3097
9283
2194
9873
8868
12118
1145
13105
18371
4614
1654
392
9880
5823
1961
4369
3903
14903
12887
560
17986
6210
11958
4822
7419
2563
17549
15663
5192
5807
7684
15124
7256
8513
5565
4386
5607
2479
16837...

result: