QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#123669#6664. 학생들van_Dijk#6 215ms66040kbC++202.3kb2023-07-13 10:52:582024-07-04 00:37:34

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 12
Accepted
time: 0ms
memory: 14112kb

input:

10 10
4 4
7 7
1 1
6 6
7 7
2 2
4 4
4 4
7 7
6 6

output:

5
1 2 4 6 7 

result:

ok 2 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 14024kb

input:

10 10
4 4
8 8
4 4
3 3
1 1
7 7
3 3
6 6
7 7
4 4

output:

6
1 3 4 6 7 8 

result:

ok 2 lines

Test #3:

score: 0
Accepted
time: 0ms
memory: 14320kb

input:

10 10
2 2
0 0
2 2
5 5
2 2
3 3
6 6
4 4
2 2
1 1

output:

7
0 1 2 3 4 5 6 

result:

ok 2 lines

Test #4:

score: -12
Wrong Answer
time: 3ms
memory: 14052kb

input:

10 10
8 8
0 2
7 7
5 5
0 3
5 5
9 9
7 7
6 6
3 3

output:

6
5 6 7 8 9 

result:

wrong answer 1st lines differ - expected: '7', found: '6'

Subtask #2:

score: 6
Accepted

Test #22:

score: 6
Accepted
time: 4ms
memory: 16412kb

input:

2500 2500
436 436
48 48
971 971
2223 2223
2046 2046
1706 1706
1847 1847
1739 1739
2398 2398
525 525
2479 2479
490 490
1434 1434
2160 2160
2049 2049
771 771
1758 1758
1651 1651
1496 1496
538 538
586 586
2141 2141
198 198
895 895
1231 1231
1478 1478
923 923
1398 1398
1103 1103
1226 1226
723 723
48 48
...

output:

1574
2 3 4 7 8 9 10 11 12 14 18 20 22 24 25 26 29 35 36 37 39 40 42 43 44 45 46 47 48 49 50 52 53 55 56 57 60 61 62 63 65 66 69 70 72 73 76 78 79 80 81 83 88 89 90 92 93 94 95 96 97 99 101 103 104 107 109 110 111 112 113 116 117 119 120 123 125 126 128 129 131 132 134 135 138 140 141 142 146 147 148...

result:

ok 2 lines

Test #23:

score: 0
Accepted
time: 4ms
memory: 14432kb

input:

2500 2500
1360 1360
1596 1596
716 716
1701 1701
1904 1904
483 483
1330 1330
523 523
1962 1962
2207 2207
623 623
234 234
1525 1525
889 889
1564 1564
1188 1188
1980 1980
1709 1709
2014 2014
2483 2483
1231 1231
2215 2215
207 207
278 278
292 292
1686 1686
1632 1632
1055 1055
212 212
1096 1096
2246 2246
...

output:

1559
1 5 6 7 8 9 10 11 12 14 16 17 19 21 22 23 25 26 27 29 30 31 32 33 37 38 39 44 45 46 47 49 50 51 53 57 58 59 60 63 64 66 67 68 69 71 74 75 76 77 78 80 81 86 87 88 89 90 91 92 95 96 97 98 99 100 101 102 103 105 106 107 108 109 112 114 115 116 117 118 120 121 122 123 125 126 129 130 131 132 134 14...

result:

ok 2 lines

Test #24:

score: 0
Accepted
time: 0ms
memory: 14692kb

input:

2500 2500
2488 2488
1044 1044
1474 1474
1383 1383
1157 1157
1760 1760
5 5
2215 2215
1117 1117
1593 1593
1062 1062
785 785
1819 1819
630 630
1887 1887
797 797
1598 1598
1163 1163
236 236
1724 1724
2479 2479
2492 2492
217 217
2161 2161
1649 1649
2099 2099
853 853
1119 1119
2228 2228
762 762
1676 1676
...

output:

1564
1 2 4 5 6 7 9 11 12 13 14 15 17 19 20 21 22 30 31 36 38 39 40 41 42 43 45 46 47 52 53 54 55 56 57 62 65 67 68 69 72 73 75 77 78 79 81 82 83 85 86 87 89 90 91 92 93 94 96 97 98 99 100 102 103 104 105 106 107 108 110 112 113 118 124 125 129 130 131 134 136 137 139 141 143 145 147 153 155 157 159 ...

result:

ok 2 lines

Test #25:

score: 0
Accepted
time: 197ms
memory: 63700kb

input:

250000 250000
61398 61398
65187 65187
31467 31467
25406 25406
186007 186007
190060 190060
218634 218634
163756 163756
18209 18209
219280 219280
144182 144182
708 708
240134 240134
244318 244318
140483 140483
31782 31782
223740 223740
200601 200601
244554 244554
231146 231146
236029 236029
1529 1529
...

output:

158309
0 1 6 7 8 9 11 15 16 17 18 19 21 22 23 24 25 26 28 29 32 33 34 35 36 38 40 41 42 43 45 46 49 51 53 56 57 58 59 60 61 64 66 69 74 75 76 77 78 79 80 81 82 84 86 90 93 94 95 96 97 99 100 102 104 105 106 111 114 115 116 117 118 120 121 123 125 126 127 129 130 132 133 134 135 136 137 138 140 141 1...

result:

ok 2 lines

Test #26:

score: 0
Accepted
time: 181ms
memory: 63800kb

input:

250000 250000
177526 177526
172544 172544
62021 62021
187588 187588
35260 35260
168837 168837
240617 240617
130448 130448
202364 202364
23462 23462
154621 154621
53555 53555
40224 40224
63855 63855
84998 84998
229700 229700
221462 221462
198159 198159
142572 142572
28090 28090
49777 49777
175114 175...

output:

158098
0 2 4 5 7 8 9 10 11 12 13 14 15 16 18 20 21 22 23 24 25 26 27 28 29 30 34 38 39 40 41 44 45 47 48 49 50 51 54 55 56 59 60 62 63 64 65 66 68 69 70 71 74 76 77 78 79 80 82 84 85 86 87 88 89 90 92 94 96 98 99 103 104 105 106 107 108 109 110 111 113 114 115 117 118 121 124 126 128 129 130 132 134...

result:

ok 2 lines

Test #27:

score: 0
Accepted
time: 195ms
memory: 63616kb

input:

250000 250000
228246 228246
188684 188684
99471 99471
41258 41258
134514 134514
121806 121806
12600 12600
31732 31732
201928 201928
77645 77645
197765 197765
113299 113299
123018 123018
140288 140288
55321 55321
210321 210321
193376 193376
169910 169910
73294 73294
100843 100843
146230 146230
72892 ...

output:

157898
0 2 3 4 6 7 8 9 10 12 13 14 15 17 22 23 25 26 27 28 29 30 31 34 35 36 37 38 39 41 42 45 46 47 48 49 50 51 53 55 60 62 64 65 66 67 69 70 71 72 73 75 76 80 81 82 83 85 86 87 88 89 91 96 99 101 103 105 109 110 113 115 117 118 119 120 122 123 124 125 127 128 129 130 131 132 134 135 140 144 146 14...

result:

ok 2 lines

Subtask #3:

score: 0
Skipped

Dependency #1:

0%

Subtask #4:

score: 0
Wrong Answer

Test #41:

score: 0
Wrong Answer
time: 200ms
memory: 63092kb

input:

250000 250000
159526 159526
198590 198590
55199 55199
129454 129454
149248 149248
230920 230920
158933 158936
215937 215937
173724 173724
151808 151808
168086 168086
218032 218035
153365 153365
70475 70475
68770 68779
121856 121856
143399 143400
124906 124906
92405 92405
149057 149057
124739 124739
...

output:

58
249985 249986 249987 249990 249991 249992 249993 249996 249997 249998 249999 

result:

wrong answer 1st lines differ - expected: '189514', found: '58'

Subtask #5:

score: 0
Wrong Answer

Test #47:

score: 0
Wrong Answer
time: 215ms
memory: 66040kb

input:

250000 212688
1 4
2 5
3 9
4 12
6 13
7 14
10 16
11 17
13 19
14 20
15 21
20 22
21 23
23 24
24 26
25 28
26 29
31 31
32 32
35 36
36 37
37 38
38 42
39 43
41 44
42 45
43 47
44 52
45 55
46 56
49 58
50 60
51 61
52 63
54 64
55 68
57 69
58 70
59 72
61 74
63 75
64 76
65 77
66 78
68 80
69 81
72 83
73 85
74 86
7...

output:

49
31 32 714 745 756 766 768 769 770 779 780 782 783 784 785 792 794 795 796 799 800 801 802 811 812 813 814 817 818 819 820 822 824 825 826 1069 1072 1073 1074 1076 1096 

result:

wrong answer 1st lines differ - expected: '1791', found: '49'

Subtask #6:

score: 0
Skipped

Dependency #1:

0%