QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#177634#6340. TourismZ_301#0 377ms55280kbC++172.3kb2023-09-13 08:17:352024-07-04 02:42:26

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 8ms
memory: 51212kb

input:

166 249 224
158 52
52 82
158 36
117 158
119 117
5 82
158 18
22 36
82 143
105 36
22 152
36 92
117 2
123 158
5 134
119 89
31 119
92 48
105 149
149 17
108 31
134 50
3 52
63 158
3 51
42 22
17 10
103 158
50 122
92 85
50 78
117 159
36 20
143 115
158 83
20 4
142 22
23 3
96 10
19 134
8 10
151 92
65 108
89 5...

output:

189
93
532
439
580
719
-48
5
689
566
312
256
325
472
28
593
357
231
-48
92
357
498
205
40
-41
-48
298
540
159
384
119
641
254
-48
378
-48
573
390
8
406
719
239
325
641
206
725
505
261
35
-48
518
670
187
163
423
357
-48
239
573
106
185
725
-48
269
0
643
543
357
41
-1
677
532
671
-48
38
364
725
-48
49...

result:

wrong answer 1st numbers differ - expected: '67', found: '189'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Wrong Answer

Test #56:

score: 0
Wrong Answer
time: 300ms
memory: 55280kb

input:

55321 88650 75523
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51...

output:

0
765089430
765061770
764729934
765089430
764729934
764729934
0
764895834
765089430
0
0
765089430
765089430
765089430
765089430
765089430
0
0
765089430
765061770
765089430
764729934
765089430
0
765089430
0
765089430
765089430
765089430
765089430
0
765089430
765089430
764729934
765089430
764729934
76...

result:

wrong answer 1st numbers differ - expected: '55319', found: '0'

Subtask #4:

score: 0
Wrong Answer

Test #69:

score: 0
Wrong Answer
time: 176ms
memory: 52548kb

input:

54738 54525 1797
45211 4527
4527 43609
4527 19876
16325 43609
32183 4527
16325 32579
43609 25554
32183 38972
45211 53953
16325 19810
10881 19810
45211 12698
27967 19810
25554 46338
51894 45211
25388 16325
512 25554
43609 7820
10206 512
30021 32183
48647 43609
46338 44138
16766 7820
10023 53953
19810...

output:

-67493
-67524
-67678
-67659
-67404
-67527
-67625
-67501
-67698
-67597
-65599
-65526
-65529
-65616
-65612
-65610
-65673
-65489
-65646
-65532
-63223
-63328
-63382
-63359
-63287
-63471
-63228
-63479
-63285
-61592
-61713
-61674
-61607
-61514
-61568
-61562
-61487
-61493
-61612
-61520
-59412
-59493
-59413...

result:

wrong answer 1st numbers differ - expected: '276', found: '-67493'

Subtask #5:

score: 0
Wrong Answer

Test #102:

score: 0
Wrong Answer
time: 377ms
memory: 53920kb

input:

55965 89652 95687
1 2
1 3
2 4
2 5
3 6
3 7
4 8
4 9
5 10
5 11
6 12
6 13
7 14
7 15
8 16
8 17
9 18
9 19
10 20
10 21
11 22
11 23
12 24
12 25
13 26
13 27
14 28
14 29
15 30
15 31
16 32
16 33
17 34
17 35
18 36
18 37
19 38
19 39
20 40
20 41
21 42
21 43
22 44
22 45
23 46
23 47
24 48
24 49
25 50
25 51
26 52
26...

output:

738373
0
692431
736683
737443
737356
0
607806
443651
0
736888
737605
737447
737336
736641
737514
738855
737491
737799
738411
627644
735905
465598
676487
738994
508519
716553
0
0
737925
738611
0
738183
0
688391
737548
737560
738593
737783
690150
738632
737323
694051
608502
0
389285
633970
736824
7020...

result:

wrong answer 1st numbers differ - expected: '42788', found: '738373'

Subtask #6:

score: 0
Skipped

Dependency #1:

0%