QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#592745 | #8130. Yet Another Balanced Coloring Problem | ZhaoZiLong | TL | 862ms | 44384kb | C++23 | 4.7kb | 2024-09-27 02:32:44 | 2024-09-27 02:32:44 |
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
Test #1:
score: 100
Accepted
time: 17ms
memory: 44384kb
input:
2 7 7 5 5 6 6 7 7 5 6 5 6 7 7 5 4 4 4 5 5 4 4 4
output:
BRRB BRB
result:
ok ok (2 test cases)
Test #2:
score: 0
Accepted
time: 742ms
memory: 42344kb
input:
10000 6 6 5 5 5 5 6 5 6 6 6 6 9 6 7 9 7 7 6 8 9 9 6 6 6 6 6 9 8 9 9 8 7 7 8 8 9 7 7 8 7 7 7 8 6 10 4 5 5 6 6 4 6 5 7 8 9 8 9 10 6 9 6 6 6 6 6 6 9 7 8 8 9 9 9 8 9 8 6 6 7 6 7 8 7 9 7 6 7 8 9 9 9 8 6 7 7 5 8 8 8 9 7 5 6 5 8 7 8 8 7 6 6 5 5 6 7 8 5 7 6 6 7 7 9 9 8 9 8 8 8 8 9 9 9 9 8 8 9 9 8 9 9 8 8 8 ...
output:
BRBR BBRRB BRRBRB BBR BRBRB BBRRB BBRR BRBR BBRBRBR BRBRBRB BRB BRBRBR BRB BRBRBRB BRBRRB BRBR BBR BRRRB BBR BRRBR BBRRB BRBR BRRBB BBR BRBRR BBRR BRRBRB BRRRBB BRBR BRRRBB BRRRBB BRRBB BRBRBR BRRBBR BRBRBR BRB BRRB BRR BRB BRRBR BBRR BBRBRR BBR BBRBR BRR BRBRBR BRBRBR BBR BRBRBR BRB BRR BBRR BRRBR ...
result:
ok ok (10000 test cases)
Test #3:
score: 0
Accepted
time: 862ms
memory: 42376kb
input:
1000 98 96 41 39 52 47 34 37 45 33 68 54 74 35 65 58 49 46 53 42 87 30 43 48 38 36 56 40 88 66 32 31 72 44 91 96 51 85 83 61 60 59 80 63 70 80 75 61 51 83 50 69 86 55 79 62 67 57 73 93 96 64 69 91 78 73 80 83 81 91 91 71 76 81 75 90 92 77 82 89 82 86 98 84 96 89 97 96 91 97 94 93 95 97 97 95 96 97 9...
output:
BBRBRRRRBBRRBBRBRBRBBBRRRRBBR BRBRRRRRRRRRBBRBBBBRBBBB BRRRBBRBBRBBRBBRRBBBBRBRRRBBRRBBBRRRBRRBRBRBBBRBRRBBRBBRRBRRRBBBBBRRRRRRRRBRBRB BRRRRBRRBRBRBBBRRBRBBRBBR BBBRBRBRBRRBBBBBBRRRRRBRBBRRRRRBBBBRRBBRRRRRBBBRBR BBBRBRRBRRBBBBRRRBRRBRBRBBRBRBBBRRRR BRBRRRRBRRRBBRBBBBRBBRRBBRBBRRRBBBRRRB BRBRRBR BBRR...
result:
ok ok (1000 test cases)
Test #4:
score: -100
Time Limit Exceeded
input:
10 9442 9473 6729 7355 6467 7301 7964 7025 7066 7206 8711 8044 7401 6634 6594 9405 7767 7253 7611 6730 6630 8250 6872 6720 8868 8644 9280 7272 6808 8887 7965 7384 6376 9115 8340 7618 8377 9351 8690 8842 9014 6913 7207 7552 8087 9013 9340 6509 8152 6963 8666 8716 7681 6447 8097 7014 6854 8576 6915 92...
output:
BBBBBRRRBRBRRRBBBRRBBRBRBBBBBRRRRRRBBRRRRBBRBBBRBRRBRRBBBBBBRRRBRRBBBBBBRRBRRRRBBRBRRBRBRBRRBBRBBBBBRBBRBBBBBRRBRRRBRRBBBBBBBRBBBBRBRBRBBRRBBRBRBRRBRRRRBBRBBBBBBRRBRRRBRRRBBBRRBBRRRBRBRBRBBRRRBBRBRBBRRRBRBBBBRBBRBRRRRRBBBBBRBBBRBRBRRBRRRBBBBBRRBBRRBRBBBRBRBBRRBRRRRBBRRBRRBBBBRBBRBRBRRRRBRRBBBBBBBBBR...