QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#314300 | #5516. Modern Machine | hyforces | 51 | 581ms | 199468kb | C++20 | 4.3kb | 2024-01-25 15:24:30 | 2024-01-25 15:24:31 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 3
Accepted
Test #1:
score: 3
Accepted
time: 2ms
memory: 5072kb
input:
3 1 BBR 3 1 1 1
output:
0
result:
ok single line: '0'
Test #2:
score: 0
Accepted
time: 2ms
memory: 4840kb
input:
3 10 BBB 3 3 3 1 3 3 3 3 3 1 1 2 5
output:
2
result:
ok single line: '2'
Test #3:
score: 0
Accepted
time: 2ms
memory: 4884kb
input:
10 1 RBBBBRRBBR 9 1 1 1
output:
3
result:
ok single line: '3'
Test #4:
score: 0
Accepted
time: 0ms
memory: 4812kb
input:
10 10 RRRBBRRBRB 5 9 4 6 7 7 4 3 8 2 1 1 10
output:
1
result:
ok single line: '1'
Test #5:
score: 0
Accepted
time: 2ms
memory: 5392kb
input:
300 300 BRRRRBBRBRBRBBBRBRRRBRBBRBBRRBBRBBRBRBRBRBBRRBBRBBRBBBBRRRRBRBRBBBBRBBBRBBRBBRBRBRRBRBBRRRRBRBBRRRBRRBRBBBRRRRBRRRBBBBRRBBRBBBRRRBRBBRBRBBRRBRBRRRBRBRBBBBRRBRBRRRRRBRRRRRBRRRBRBRRRRRBBBRRBBRBBRRRRBBBBRBRBBBRRRRBBBBBBBBBBRBRRBRBBRRRRBRBBRRRBBRBRRRBBRBRRBBRBBBBRBRBRBBBRBBRBRBBRBBRBRBRBRRRBBBBR...
output:
29
result:
ok single line: '29'
Test #6:
score: 0
Accepted
time: 2ms
memory: 5268kb
input:
300 300 RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...
output:
149
result:
ok single line: '149'
Test #7:
score: 0
Accepted
time: 0ms
memory: 5108kb
input:
5 2 RBRBB 2 5 1 1 2
output:
4
result:
ok single line: '4'
Subtask #2:
score: 12
Accepted
Dependency #1:
100%
Accepted
Test #8:
score: 12
Accepted
time: 10ms
memory: 15276kb
input:
7000 7000 RRBRRRRRRBBRBRBRRRBRRRBRRRRBRBRBRBRBBBRBRRRBBBRBBBBBBRBBBRRBRBRBBRRRBBBBRRBBRBBRBBRRRBBRRBRBRRRRRBBRRBRBBBRBBRRRRBRBBBBRBBBBBBRRRBRBRBBRBRRBBBBBRRBBBBBBRBBBRRBBRRBBBBBBRBRBRBBRBBRBBBRRBRBBRBBBBBRBRRBRRBRRRBRBBBBBRRBRBRRBRRRRBBBBRRBBRRRRRBBBBBRRBBBBBBRRBBRBRRRRRRRBRRBRRBBBBBBBBRRRRBBRRRRRRR...
output:
5505
result:
ok single line: '5505'
Test #9:
score: 0
Accepted
time: 11ms
memory: 15768kb
input:
7000 7000 RRBRRRBBRRBBRBBBBRBRBRRBBBBBBBBBBRRRBRRBBRRRRBBRRBRRRRRBBRBBBBBRRBBBBRBBBBRBRBBBBBRBBRRRBBBBRRBRRBRRBRBBBRRRRBBRRBRRBRBBRBBBRBBBRRBRBBBRRBBBBBRBBRBRBRBBBBRRBBBRRRRBRRBBRBRBBBBBBRRRRRBBRRBBRRBBBRBBBRRRRRBRBBRBRBBRRBBRBRRRBBRRBBBRRBRRRRRRRBBRBRRBRBRBRBRBRBBRBRRBRBBBBBBBRRBRRRBBBBRRBBRRRBBRBR...
output:
5936
result:
ok single line: '5936'
Test #10:
score: 0
Accepted
time: 12ms
memory: 15660kb
input:
7000 7000 RBBRBRBRRRBBRBRRBRBBRBRRRBRBBBRBBRBRBRBRRBBBBRBRRRBBRRRRBBRRRRBBRBRBRRRRBBRRBBRBRBBBRBBBBBRBBRBBRRBBRRRRRBBRBRBRRBBRRRBRBBBRBRRBRRRBRRRBRBBBBRBBBBBBRBRRRBRRRBRBBBRBRRBBRRBRRBBBBBRBBRRRRBBRRBBBBRRBRBRRRRBBRRRRRBRBRRBBRRRRRBRRBRBBBBRRBBBBRBRRRBBRBRRRRRBRRBRRRBRRBRRRRRBBBRBBBRBRRRBRBBBBRRRRRR...
output:
6260
result:
ok single line: '6260'
Test #11:
score: 0
Accepted
time: 6ms
memory: 14752kb
input:
7000 7000 RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
output:
3499
result:
ok single line: '3499'
Test #12:
score: 0
Accepted
time: 4ms
memory: 15664kb
input:
7000 7000 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...
output:
3906
result:
ok single line: '3906'
Subtask #3:
score: 10
Accepted
Dependency #2:
100%
Accepted
Test #13:
score: 10
Accepted
time: 213ms
memory: 181612kb
input:
120000 120000 BBBBRBBRBRRBRRRBBBRRRRRBRRRRRRRRRRRBBBBRBRBBBBBBRBRBBBRBBRBRRBBRBRRRBRBBBBBRBRRBBRRRRRBBRBBBBRBBRRBRRRRBRBBBRRRBBBRRBRRBBBRRRBRRRBBRBBRRRBBBRBBRBBBBBRBRRRRBBRBRBRBBRRRRRRRBBRRBBBBRRRBBRRRRRBBBBRBBBBRBRRBBBRBRBBBRBRBRRBBRBRBBBRRBBRBBBBRBBRRBRBRBRBRRBBRBBBBBBBRRRRBRBRBRBRRRRBRRBBBRBRRBRB...
output:
110620 106126 106019 110676 111965
result:
ok 5 lines
Test #14:
score: 0
Accepted
time: 247ms
memory: 188364kb
input:
120000 120000 BRRBBBRRRRRRRBRRRRRRRBBRBBRRBBRRRRRBRBRRBRRRRRBRRBBBBRRBRRRBBBBRRBRBRBBBRBBRRBRRRBRRBRBBBBRRRBRBRBRBBBBRBRRRBRBBRBBBRRBBBRBBBBRRBBRRBBRBRRRBBBRBBBRRRRBBBBBRRRRBBBBBBBRRRRRRRBBBRRRBBRRRRBBBRBBBRRBBBRRRRRRRRRRRRRBRRBRRBRBRRBBBBBBRRRRBRRBRBBBBRRBRRRRRBRRBRRRBBRRRBBRRRRRBRBRRRRBBBBBBBRBRRR...
output:
96348 101002 105432 99656 104213
result:
ok 5 lines
Test #15:
score: 0
Accepted
time: 237ms
memory: 198004kb
input:
120000 120000 BRBRRBBBRBRBRRRRBRRRRBBRBRBBBBBBBRBBRRBRRRRRBRRRRBBBRRRBBRRBBRRBBBRBRRRBBRRRBBRRBRRRRRBRRBRBRBRRRRBRRRRBRBRBRRRBBBBRBBRRBRBRRBBRRBBBBRBRRRBRRRRBBBRBBRBBRRBBBBBBBBRBBBBRRBBBRRBRRRRRRBBRBRBRRRBBRRRRBBBBRBBBRBRBRBRBBRRRBBBBBBRRRRRRBRBBRRRRBRBBBRBBRBRRRRBBBRRRBBRBRRBBBRBRRBRRRRRRRBBRRRBRRB...
output:
21951 100124 2164 9705 84183
result:
ok 5 lines
Test #16:
score: 0
Accepted
time: 193ms
memory: 198260kb
input:
120000 120000 BBRBRRRRRBRRBBBBBRBRRBRRBBRBRRBBBBBBBBRRRBBBBRRBRRRBRBBBRRRBRBBRRBBBBBBBRBBRBBBBRBBBBBRRRRRRBBBRRRBRRRRRBRRBRBBRBBBRBBRRBRRRRRRRRRBRRRRBRRRBBRRBBBBRBBRBBBBRRBRRBBBRRRRRBRBRBRRRRRRRBRRBBBBBRRBBRRRBBRBBBRBBBRBRBRRRBBBBRRBRBBBRRRBBRBBBBBRBRRBBBRRRBRBRRRRRRBBRRRBRBBBBRRRBBBRBBBRBBRRRRRBBBR...
output:
1538 12691 15538 71544 59943
result:
ok 5 lines
Test #17:
score: 0
Accepted
time: 231ms
memory: 194448kb
input:
120000 120000 RRBRBBBRRBRBBBBRRBRBBRRRBRRBRBBBRRBBBBBRBRRBRBBRRRRBRBRRBRBRBRBRBRRRBBRRRRRBBBRRBRBBRRBRBRRBRRBBBBBBRBRRBBBBBBRBBBRBBRRRRBBRBBRRRBRBRRBBBRRRBBRBRBBBRBRBBRRRBBBBRRBBRRBRBBBBRRBBRRRRRRRBBRBRBBBRBRBRBBRBBRRRBBBRBRBRBBBBRBBRBBBRRBRRRRRBRBRBBRRRRRRBBBRBBRRRRRRRRRRBBBBRRBBRRBBRBRRBRRRBBRBRRR...
output:
40188 86078 5895 13418 41515
result:
ok 5 lines
Test #18:
score: 0
Accepted
time: 96ms
memory: 190068kb
input:
120000 120000 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...
output:
92747 92740 60010 68177 92504
result:
ok 5 lines
Test #19:
score: 0
Accepted
time: 152ms
memory: 195412kb
input:
120000 120000 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...
output:
24163 77301 16491 24538 26597
result:
ok 5 lines
Test #20:
score: 0
Accepted
time: 164ms
memory: 195500kb
input:
120000 120000 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...
output:
21975 61282 31752 20423 27041
result:
ok 5 lines
Subtask #4:
score: 0
Time Limit Exceeded
Test #21:
score: 11
Accepted
time: 268ms
memory: 174268kb
input:
10 120000 RRRRRRRRRR 9 1 9 6 1 9 6 10 3 2 6 4 2 5 7 10 8 9 2 6 7 10 2 9 7 5 9 9 2 7 4 1 8 3 3 6 9 4 7 9 6 8 8 2 5 6 8 3 9 2 5 2 5 9 8 4 8 3 2 2 5 1 9 1 7 9 9 4 9 5 2 10 7 4 3 8 1 10 7 6 6 2 3 8 7 8 5 9 2 2 1 10 2 2 5 4 2 5 9 1 8 4 5 1 2 8 3 10 10 6 7 2 1 5 10 1 9 10 1 7 3 10 8 10 6 8 3 1 10 9 10 5 5...
output:
10 6 1 8 1 9 8 1 3 0 3 4 4 2 2 2 10 8 10 7 0 7 0 1 10 3 10 7 3 2 10 8 10 0 0 10 1 2 5 4 0 7 1 0 6 7 6 8 3 2 4 7 0 6 7 5 2 8 4 8 1 4 4 10 3 7 7 7 3 1 3 10 3 4 0 2 1 3 9 8 4 6 10 9 3 7 9 2 5 7 2 7 2 1 0 6 0 6 3 6 2 8 1 10 9 4 5 2 5 10 9 4 1 8 5 3 6 3 8 9 10 6 4 10 7 2 8 7 9 7 7 0 9 5 5 6 3 7 4 7 9 6 7...
result:
ok 120000 lines
Test #22:
score: 0
Accepted
time: 311ms
memory: 173996kb
input:
10 120000 RRRRRRRRRR 5 3 4 3 3 4 3 7 7 7 6 9 4 10 10 9 9 7 8 8 9 4 8 9 5 8 4 8 8 6 4 10 9 4 8 6 3 1 7 8 1 7 5 5 1 6 4 5 1 1 9 1 5 6 9 7 4 5 8 10 3 2 3 10 2 9 8 3 3 5 5 9 5 7 10 6 2 6 9 10 5 3 1 6 2 8 1 1 3 9 3 6 9 7 6 8 8 4 7 9 8 8 6 6 7 7 8 4 9 5 9 9 3 4 8 1 6 6 10 7 2 10 8 10 5 4 5 8 7 5 5 7 2 9 8...
output:
3 0 7 8 10 10 8 2 7 10 4 8 7 10 8 5 1 0 3 7 4 10 7 5 7 1 0 7 7 7 5 7 5 8 0 3 8 3 6 6 3 6 6 0 2 8 5 5 4 9 10 6 6 3 7 10 3 1 4 2 2 9 2 5 4 7 1 7 7 0 10 3 2 0 0 1 0 10 1 5 8 6 8 1 4 0 10 9 5 3 7 5 7 3 5 7 4 0 4 1 8 4 4 8 0 10 0 5 1 3 2 9 2 7 6 0 8 4 6 3 2 6 3 4 10 1 3 8 3 9 6 5 3 2 0 3 0 5 5 10 1 3 2 6...
result:
ok 120000 lines
Test #23:
score: -11
Time Limit Exceeded
input:
10 120000 RRRRRRRRRR 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 ...
output:
9 5 9 2 9 8 9 9 7 6 9 9 9 6 7 9 9 7 5 9 9 9 9 9 3 9 9 7 7 2 9 9 9 9 7 3 7 7 7 5 9 9 9 6 9 9 7 9 7 9 9 9 9 9 9 9 9 6 9 9 9 9 9 9 2 9 5 6 7 7 7 9 2 9 9 2 9 9 9 2 9 2 9 9 5 7 7 6 2 9 9 7 9 8 2 9 9 2 9 9 9 9 7 9 9 9 9 6 9 8 7 8 7 7 2 7 7 6 9 9 6 9 9 9 2 3 2 9 9 9 9 9 9 9 7 7 9 9 9 6 9 9 7 7 7 9 7 2 9 7 ...
result:
Subtask #5:
score: 26
Accepted
Test #26:
score: 26
Accepted
time: 555ms
memory: 198164kb
input:
120000 120000 RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
output:
23441 85217 55120 85435 90828 27927 63967 41321 97520 63588 53976 9028 23460 86914 85688 112911 68792 102907 14973 38475 71931 17922 62077 53185 57121 43774 12583 21332 82917 28259 92209 28023 51606 65188 44768 34904 96969 18999 3653 3865 42795 86270 55638 108702 7871 68493 109086 40077 60406 38299 ...
result:
ok 120000 lines
Test #27:
score: 0
Accepted
time: 570ms
memory: 199372kb
input:
120000 120000 RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
output:
2018 77981 92021 56481 116102 56745 67069 27266 30240 27284 13740 91171 108960 56234 109524 112538 55657 42972 50147 67079 7111 117407 39871 76936 45716 91668 95720 77368 97105 85437 79208 67078 48361 96495 85567 55381 19702 20133 30919 44934 86141 2061 51472 119392 58595 83081 98072 70266 44208 836...
result:
ok 119999 lines
Test #28:
score: 0
Accepted
time: 261ms
memory: 198652kb
input:
120000 120000 RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
output:
74259 100417 22098 39799 56013 106728 100176 691 115099 118024 24216 53415 50787 78009 93371 114696 10114 113629 42308 99501 31925 2977 101690 15659 8409 87275 8847 117293 75701 3539 100844 31941 32198 3892 91695 29078 71179 92631 112213 43774 2220 17510 30742 69729 41857 84581 82608 73397 77072 935...
result:
ok 120000 lines
Test #29:
score: 0
Accepted
time: 375ms
memory: 199468kb
input:
120000 120000 RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
output:
93180 85506 102645 62667 72263 51220 85142 81308 76933 106402 99293 27616 94064 104319 9479 119556 70424 76433 61917 110968 48994 108260 66210 40756 64358 89287 104790 100481 108187 20280 118127 29501 61041 59815 17775 87287 77037 95623 78604 90259 65811 33371 14467 12846 35149 18246 32718 84622 903...
result:
ok 120000 lines
Subtask #6:
score: 0
Time Limit Exceeded
Test #30:
score: 17
Accepted
time: 433ms
memory: 182396kb
input:
120000 120000 RRBBRBRBBBRBRRBRBRRRBRBRRBRRRBBRBBBBBBRBBRBRBRBRRBRBRBRRRBRBBBBRRBBRRBBRRRBRRBRBBRRRBBBRRBBBBRBBBRBBBRBBBRBBRBBBBRBBBBRRBRRRRRRRBRRRBRBBBRBBBBRBBRBRBRRBBRRBRBBBBRBBBRBBRRBBBBRBBBBRBRRBRBBRBBBBRRBBBBBBRBBRBBBBBBRBBRRRRRBBBRBBBRBRRBBRBRBRBBRRBRRBBBRBRBRRRBBRRBBRRRRBRRBBRRBBBBBBBRBBBRBBBR...
output:
83101 101089 86861 90592 87368 108738 85550 95262 105111 86861 84761 89448 86987 84642 85927 98400 101647 115069 86358 88161 88124 102000 90017 82325 88897 98142 108041 110441 85050 97578 100054 87655 103638 97493 109084 94342 87147 88779 96474 87274 96348 81879 109022 85971 93668 106944 103118 8279...
result:
ok 120000 lines
Test #31:
score: 0
Accepted
time: 500ms
memory: 182800kb
input:
120000 120000 RRBBRBBRRRBBBRRRBBBBBBRRBRBRRRRRBRRBBRRRBBRRRBRRRBRRBRRRRBRRBBBBRRBBRRRRBRBBRBRRRBBBRBBRRRBRBBRBRBBRRRRBBBBBRBBBRRBBBRRBRBRBBBRBBRRBRRBRBRBBBRBRBBBBBBRRRRRBBBRBRRRBBRBRRRBRRRRRRBBBBRBRBRRRRBBRBBRRBRBRBBBBBBRBBBBBBRBRBRBRBBRBRRBRRRBRRRRBBBBBRBBRBRBBRBBRBBRRRRRBRRRBRBRRBRRRBBRBRBRRBRBBBR...
output:
92866 110882 108810 90785 94071 80631 102550 84384 94229 84657 84178 82402 109858 98117 83183 93410 91944 87028 87275 109575 91747 80319 88128 89077 81770 88487 86883 88321 91390 101033 88090 107250 105110 106812 83499 111670 84865 86486 81207 109597 83841 115123 89424 81691 84640 84874 85595 89074 ...
result:
ok 120000 lines
Test #32:
score: 0
Accepted
time: 485ms
memory: 186168kb
input:
120000 120000 BBBRRRRRBBBRRRBRBBBRBBBRBBRRRBBRBRRRRRRRRBRBBBRBRRBBRRBRBBRBBRBBBRRRRBBRBBBRBBBBBBBBRRRBRBBRBRRRRRRRRRBBRBBBRBRRBRBBBRBBRRRBBRBBRRBRRBBRBRRRBRRBRBBBRRRRRBRBRRRBBBRBRBRRRRRBBBRBBBBRRBBRRBRRBBBBBRRBRBRBRBBRBRRBBBBBRRBRRBBBRRRBBBBBRRBBBRBRRBRRRBRRBRBBBBRBBBBRBRRBBBRBRRRBRBRRBRRRRBRRBBBBRR...
output:
100750 95747 94413 100546 108006 96874 95735 99003 92141 102234 97285 97127 96651 102069 92244 103460 99375 96829 95112 92109 105106 101757 95213 99873 113425 99147 100242 91629 100413 93587 105073 98303 98849 97452 104721 96662 110488 97452 89979 107495 99380 92656 90698 106911 106142 99158 101391 ...
result:
ok 120000 lines
Test #33:
score: 0
Accepted
time: 581ms
memory: 187720kb
input:
120000 120000 RBRBRRBBRRBRRRBBRBBRRBRBRBRBBBBRRRRBRBBBBRBRRRBRRRBBBBRRRRBBBBRBRRBRBBRRBBRBBRBBBRBRBBRRRBBRBRBBRRBRBBRRBBBRBBBBBRBBBRBRBRRBRRRBRBRRBBRRRRBRRBRRBBRRBRRBBBRRBBRBBBRRBBRBRBBBRBRBBRRBRBRRRRBRRRRBRRRRRBRBRRBRBRBRBRBRRRBBRRBRRRRRRBBRBRBBBRRBBBRBRBBBBRBBBBRBBRBBBRRBRRRBBBBRBRRRBRRBBBRRRBBBRB...
output:
75946 73695 73900 72794 66617 89456 65128 86988 61618 65321 68792 68092 73196 119411 73247 90546 98247 72743 96076 93403 89744 70186 91501 86816 72216 105526 72887 68048 87792 79786 96068 67065 112466 86536 107562 74785 68073 79452 102666 79143 100234 81438 82253 81935 79677 83996 72501 68584 86855 ...
result:
ok 120000 lines
Test #34:
score: 0
Accepted
time: 578ms
memory: 187988kb
input:
120000 120000 BRRBRBBRRRBBBRBRBRBRRRBBRRRBBBBBRBRBRRBRBRRBBRBBBRRRRRRBBRRBBBRRRBBRRBBBRBRBBRBBRRRBBBRBRBRBBBRBRRRBRBBRBRBRRRBRBRRRBRBRBRBBRBRRBRRRBRBBRRBBBRBBBBBRRRRRRBRRRBBRRRRRRBBRRRRBRRRBRBRBRBBRRRBRBBRBBBRBRRBBRBRRBBBBRBBRBRRBBRBBRBBRRRBRBBBRBBRBBBBBBBBRBBBBRBRRRBBRBRRBBBRBRBBBRBBRBBBBRBRBRBBBBB...
output:
82065 81819 78047 109174 96117 73289 96503 89219 115572 87385 84410 92281 95100 94705 77054 72350 119158 108622 79845 91467 116649 83346 84349 91015 2238 80936 91717 105267 96978 90698 76765 104058 78302 77244 103100 76016 85487 77258 114203 89635 87506 98855 108126 85006 82995 118932 99947 83939 93...
result:
ok 119999 lines
Test #35:
score: -17
Time Limit Exceeded
input:
120000 120000 BBRRBRRRRBBBBBBRBRRBBRRBBBRRRBRRBRBRRRRBBBRRRBBBBRRRRBBBBRRRRBRRRRRRBRBRRRBBBRBBBRBBRRRRBRBBBRRRRBBBBRRBRRRBBBRBBRBBRRRRRBRBBBRRBBRRBBBRRRBRRBRRBRBRBBBBBBRBBRRRBBBBBBBBBBBBBBRBBRBRRBRBRRRBBRBBBRRRBRBBRBBBRBRRRRBRRRRRBRBRBRBBBBRRRBBRBBRRRBRBRBBBBRRBBRRBRBRBRBBBBRRBRRBRBBBRRBRRRRBRRBRBBB...
output:
99244 98229 97603 97183 97261 98626 101594 96302 97487 95973 103367 96945 105167 105624 96262 101907 101469 99649 100159 98059 98498 99570 98580 102622 102965 98496 103044 100382 101067 98319 96213 102668 96132 97234 100936 100604 102358 103467 98910 104099 96640 96573 99136 99148 99419 97356 102090...
result:
Subtask #7:
score: 0
Skipped
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Dependency #3:
100%
Accepted
Dependency #4:
0%