Task: | L-Trominos |
Sender: | Lahna |
Submission time: | 2019-05-25 15:26:52 +0300 |
Language: | C++ |
Status: | READY |
Result: | WRONG ANSWER |
test | verdict | time | |
---|---|---|---|
#1 | ACCEPTED | 0.02 s | details |
#2 | ACCEPTED | 0.01 s | details |
#3 | ACCEPTED | 0.03 s | details |
#4 | ACCEPTED | 0.02 s | details |
#5 | ACCEPTED | 0.02 s | details |
#6 | ACCEPTED | 0.01 s | details |
#7 | ACCEPTED | 0.02 s | details |
#8 | ACCEPTED | 0.02 s | details |
#9 | ACCEPTED | 0.02 s | details |
#10 | ACCEPTED | 0.02 s | details |
#11 | ACCEPTED | 0.02 s | details |
#12 | ACCEPTED | 0.02 s | details |
#13 | ACCEPTED | 0.02 s | details |
#14 | ACCEPTED | 0.01 s | details |
#15 | ACCEPTED | 0.01 s | details |
#16 | ACCEPTED | 0.02 s | details |
#17 | ACCEPTED | 0.03 s | details |
#18 | ACCEPTED | 0.02 s | details |
#19 | ACCEPTED | 0.03 s | details |
#20 | ACCEPTED | 0.02 s | details |
#21 | ACCEPTED | 0.01 s | details |
#22 | ACCEPTED | 0.02 s | details |
#23 | ACCEPTED | 0.02 s | details |
#24 | ACCEPTED | 0.02 s | details |
#25 | ACCEPTED | 0.02 s | details |
#26 | ACCEPTED | 0.02 s | details |
#27 | ACCEPTED | 0.03 s | details |
#28 | ACCEPTED | 0.02 s | details |
#29 | ACCEPTED | 0.01 s | details |
#30 | ACCEPTED | 0.03 s | details |
#31 | ACCEPTED | 0.02 s | details |
#32 | ACCEPTED | 0.02 s | details |
#33 | ACCEPTED | 0.01 s | details |
#34 | ACCEPTED | 0.02 s | details |
#35 | ACCEPTED | 0.02 s | details |
#36 | ACCEPTED | 0.03 s | details |
#37 | ACCEPTED | 0.01 s | details |
#38 | WRONG ANSWER | 0.02 s | details |
#39 | ACCEPTED | 0.01 s | details |
#40 | ACCEPTED | 0.02 s | details |
#41 | ACCEPTED | 0.02 s | details |
#42 | ACCEPTED | 0.02 s | details |
#43 | ACCEPTED | 0.01 s | details |
#44 | ACCEPTED | 0.03 s | details |
#45 | WRONG ANSWER | 0.01 s | details |
#46 | ACCEPTED | 0.01 s | details |
#47 | ACCEPTED | 0.03 s | details |
#48 | ACCEPTED | 0.02 s | details |
#49 | ACCEPTED | 0.01 s | details |
#50 | ACCEPTED | 0.03 s | details |
#51 | WRONG ANSWER | 0.03 s | details |
#52 | ACCEPTED | 0.03 s | details |
#53 | ACCEPTED | 0.02 s | details |
#54 | ACCEPTED | 0.02 s | details |
#55 | ACCEPTED | 0.02 s | details |
#56 | ACCEPTED | 0.02 s | details |
#57 | ACCEPTED | 0.02 s | details |
#58 | ACCEPTED | 0.01 s | details |
#59 | WRONG ANSWER | 0.02 s | details |
#60 | ACCEPTED | 0.02 s | details |
#61 | WRONG ANSWER | 0.02 s | details |
#62 | ACCEPTED | 0.02 s | details |
#63 | WRONG ANSWER | 0.02 s | details |
#64 | ACCEPTED | 0.02 s | details |
#65 | ACCEPTED | 0.01 s | details |
#66 | ACCEPTED | 0.01 s | details |
#67 | ACCEPTED | 0.03 s | details |
#68 | ACCEPTED | 0.02 s | details |
#69 | ACCEPTED | 0.01 s | details |
#70 | ACCEPTED | 0.03 s | details |
#71 | ACCEPTED | 0.02 s | details |
#72 | WRONG ANSWER | 0.02 s | details |
#73 | ACCEPTED | 0.01 s | details |
#74 | ACCEPTED | 0.02 s | details |
#75 | WRONG ANSWER | 0.02 s | details |
#76 | WRONG ANSWER | 0.02 s | details |
#77 | WRONG ANSWER | 0.02 s | details |
#78 | WRONG ANSWER | 0.02 s | details |
#79 | ACCEPTED | 0.01 s | details |
#80 | WRONG ANSWER | 0.02 s | details |
#81 | ACCEPTED | 0.02 s | details |
#82 | ACCEPTED | 0.02 s | details |
#83 | ACCEPTED | 0.03 s | details |
#84 | ACCEPTED | 0.02 s | details |
#85 | ACCEPTED | 0.02 s | details |
#86 | ACCEPTED | 0.03 s | details |
#87 | ACCEPTED | 0.02 s | details |
#88 | ACCEPTED | 0.02 s | details |
#89 | ACCEPTED | 0.02 s | details |
#90 | ACCEPTED | 0.03 s | details |
#91 | ACCEPTED | 0.02 s | details |
Code
#include <bits/stdc++.h> using namespace std; int n, m; char c[5555][5555]; void c1(int x, int y){ c[x][y]=c[x+1][y]=c[x][y+1]=('A'+4*(x%4)+4*(y%4)+1); c[x+2][y]=c[x+2][y+1]=c[x+1][y+1]=('A'+4*(x%4)+4*(y%4)+2); } void c2(int x, int y){ c[x][y]=c[x][y+1]=c[x+1][y]=('A'+4*(x%4)+4*(y%4)+3); c[x][y+2]=c[x+1][y+2]=c[x+1][y+1]=('A'+4*(x%4)+4*(y%4)+4); } bool fill(int a, int b, int aa, int bb){ int w=aa-a; int h=bb-b; if (w%3==0 && h%2==0){ if (h==2){ for (int i=a;i<aa;i+=3){ c1(i, b); } }else{ for (int j=b;j<bb;j+=2){ fill(a, j, aa, j+2); } } }else if (h%3==0 && w%2==0){ if (w==2){ for (int j=b;j<bb;j+=3){ c2(a, j); } }else{ for (int i=a;i<aa;i+=2){ fill(i, b, i+2, bb); } } }else{ if (h%6==0){ if (w%3==2 && w>=5){ fill(a, b, a+2, bb); fill(a+2, b, aa, bb); return 0; }else if (w%3==1 && w>=7){ fill(a, b, a+2, bb); fill(a+2, b, a+4, bb); fill(a+4, b, aa, bb); return 0; } } if (w%6==0){ if (h%3==2 && h>=5){ fill(a, b, aa, b+2); fill(a, b+2, aa, bb); return 0; }else if (h%3==1 && h>=7){ fill(a, b, aa, b+2); fill(a, b+2, aa, b+4); fill(a, b+4, aa, b+4); return 0; } } return 1; } return 0; } int main(){ cin >> n >> m; if (fill(0, 0, n, m)) cout << "IMPOSSIBLE\n"; else{ for (int i=0;i<n;++i){ cout << c[i] << "\n"; } } }
Test details
Test 1
Verdict: ACCEPTED
input |
---|
1 1 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 2
Verdict: ACCEPTED
input |
---|
1 2 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 3
Verdict: ACCEPTED
input |
---|
1 3 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 4
Verdict: ACCEPTED
input |
---|
1 4 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 5
Verdict: ACCEPTED
input |
---|
1 5 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 6
Verdict: ACCEPTED
input |
---|
1 6 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 7
Verdict: ACCEPTED
input |
---|
1 9 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 8
Verdict: ACCEPTED
input |
---|
2 1 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 9
Verdict: ACCEPTED
input |
---|
2 2 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 10
Verdict: ACCEPTED
input |
---|
2 3 |
correct output |
---|
GHH GGH |
user output |
---|
DDE DEE |
Test 11
Verdict: ACCEPTED
input |
---|
2 4 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 12
Verdict: ACCEPTED
input |
---|
2 5 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 13
Verdict: ACCEPTED
input |
---|
2 6 |
correct output |
---|
GHHJFF GGHJJF |
user output |
---|
DDEPPQ DEEPQQ |
Test 14
Verdict: ACCEPTED
input |
---|
2 9 |
correct output |
---|
GHHJFFHII GGHJJFHHI |
user output |
---|
DDEPPQLLM DEEPQQLMM |
Test 15
Verdict: ACCEPTED
input |
---|
3 1 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 16
Verdict: ACCEPTED
input |
---|
3 2 |
correct output |
---|
GG HG HH |
user output |
---|
BB BC CC |
Test 17
Verdict: ACCEPTED
input |
---|
3 3 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 18
Verdict: ACCEPTED
input |
---|
3 4 |
correct output |
---|
GGII GLIN LLNN |
user output |
---|
BBJJ BCJK CCKK |
Test 19
Verdict: ACCEPTED
input |
---|
3 5 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 20
Verdict: ACCEPTED
input |
---|
3 6 |
correct output |
---|
GGIIFF GLINFK LLNNKK |
user output |
---|
BBJJBB BCJKBC CCKKCC |
Test 21
Verdict: ACCEPTED
input |
---|
3 7 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 22
Verdict: ACCEPTED
input |
---|
3 8 |
correct output |
---|
GGIIFFHH GLINFKHM LLNNKKMM |
user output |
---|
BBJJBBJJ BCJKBCJK CCKKCCKK |
Test 23
Verdict: ACCEPTED
input |
---|
3 9 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 24
Verdict: ACCEPTED
input |
---|
3 10 |
correct output |
---|
GGIIFFHHJJ GLINFKHMJO LLNNKKMMOO |
user output |
---|
BBJJBBJJBB BCJKBCJKBC CCKKCCKKCC |
Test 25
Verdict: ACCEPTED
input |
---|
4 1 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 26
Verdict: ACCEPTED
input |
---|
4 2 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 27
Verdict: ACCEPTED
input |
---|
4 3 |
correct output |
---|
GGL GLL IIN INN |
user output |
---|
DDE DEE LLM LMM |
Test 28
Verdict: ACCEPTED
input |
---|
4 4 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 29
Verdict: ACCEPTED
input |
---|
4 5 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 30
Verdict: ACCEPTED
input |
---|
4 6 |
correct output |
---|
GHHJFF GGHJJF QRRTPP QQRTTP |
user output |
---|
DDEPPQ DEEPQQ LLMXXY LMMXYY |
Test 31
Verdict: ACCEPTED
input |
---|
4 9 |
correct output |
---|
GHHJFFHII GGHJJFHHI QRRTPPRSS QQRTTPRRS |
user output |
---|
DDEPPQLLM DEEPQQLMM LLMXXYTTU LMMXYYTUU |
Test 32
Verdict: ACCEPTED
input |
---|
5 1 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 33
Verdict: ACCEPTED
input |
---|
5 2 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 34
Verdict: ACCEPTED
input |
---|
5 3 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 35
Verdict: ACCEPTED
input |
---|
5 4 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 36
Verdict: ACCEPTED
input |
---|
5 5 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 37
Verdict: ACCEPTED
input |
---|
5 6 |
correct output |
---|
GGIIFF GMMIFK QQMTKK QVXTTU VVXXUU |
user output |
---|
DDEPPQ DEEPQQ JJRRJJ JKRSJK KKSSKK |
Test 38
Verdict: WRONG ANSWER
input |
---|
5 9 |
correct output |
---|
GGIIFGGII GMMIFFGIN QQMTTQQNN QVXTUQWXX VVXXUUWWX |
user output |
---|
IMPOSSIBLE |
Test 39
Verdict: ACCEPTED
input |
---|
6 1 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 40
Verdict: ACCEPTED
input |
---|
6 2 |
correct output |
---|
GG HG HH JJ FJ ... |
user output |
---|
BB BC CC NN NO ... |
Test 41
Verdict: ACCEPTED
input |
---|
6 3 |
correct output |
---|
GGL GLL IIN INN FFK ... |
user output |
---|
DDE DEE LLM LMM DDE ... |
Test 42
Verdict: ACCEPTED
input |
---|
6 4 |
correct output |
---|
GGQQ HGRQ HHRR JJTT FJPT ... |
user output |
---|
BBJJ BCJK CCKK NNVV NOVW ... |
Test 43
Verdict: ACCEPTED
input |
---|
6 5 |
correct output |
---|
GGQQV GMQVV IMMXX IITTX FFKTU ... |
user output |
---|
BBLLM BCLMM CCTTU NNTUU NOLLM ... |
Test 44
Verdict: ACCEPTED
input |
---|
6 6 |
correct output |
---|
GGIIFF GLINFK LLNNKK VVXXUU VBXDUA ... |
user output |
---|
BBJJBB BCJKBC CCKKCC NNVVNN NOVWNO ... |
Test 45
Verdict: WRONG ANSWER
input |
---|
6 7 |
correct output |
---|
GHHJJGG GGHJOGL QRROOLL QQRYYVV BCCYEVB ... |
user output |
---|
BBJJ BCJK CCKK NNVV NOVW ... |
Test 46
Verdict: ACCEPTED
input |
---|
6 8 |
correct output |
---|
GGIIFFHH GLINFKHM LLNNKKMM VVXXUUWW VBXDUAWC ... |
user output |
---|
BBJJBBJJ BCJKBCJK CCKKCCKK NNVVNNVV NOVWNOVW ... |
Test 47
Verdict: ACCEPTED
input |
---|
6 9 |
correct output |
---|
GHHJJGGII GGHJOGLIN QRROOLLNN QQRYYVVXX BCCYEVBXD ... |
user output |
---|
DDEPPQLLM DEEPQQLMM LLMXXYTTU LMMXYYTUU DDEPPQLLM ... |
Test 48
Verdict: ACCEPTED
input |
---|
6 10 |
correct output |
---|
GGIIFFHHJJ GLINFKHMJO LLNNKKMMOO VVXXUUWWYY VBXDUAWCYE ... |
user output |
---|
BBJJBBJJBB BCJKBCJKBC CCKKCCKKCC NNVVNNVVNN NOVWNOVWNO ... |
Test 49
Verdict: ACCEPTED
input |
---|
7 3 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 50
Verdict: ACCEPTED
input |
---|
7 6 |
correct output |
---|
GGQQBB HGRQCB HHRRCC JJOYYE JOOYEE ... |
user output |
---|
DDEPPQ DEEPQQ LLMXXY LMMXYY BBJJBB ... |
Test 51
Verdict: WRONG ANSWER
input |
---|
7 9 |
correct output |
---|
GGIIFGGII GMMIFFGIN QQMTTQQNN QVXTUQWXX VVXXUUWWX ... |
user output |
---|
IMPOSSIBLE |
Test 52
Verdict: ACCEPTED
input |
---|
8 3 |
correct output |
---|
GGL GLL IIN INN FFK ... |
user output |
---|
DDE DEE LLM LMM DDE ... |
Test 53
Verdict: ACCEPTED
input |
---|
8 6 |
correct output |
---|
GGLVVB GLLVBB IINXXD INNXDD FFKUUA ... |
user output |
---|
DDEPPQ DEEPQQ LLMXXY LMMXYY DDEPPQ ... |
Test 54
Verdict: ACCEPTED
input |
---|
8 9 |
correct output |
---|
GHHJFFHII GGHJJFHHI QRRTPPRSS QQRTTPRRS BCCEAACDD ... |
user output |
---|
DDEPPQLLM DEEPQQLMM LLMXXYTTU LMMXYYTUU DDEPPQLLM ... |
Test 55
Verdict: ACCEPTED
input |
---|
9 1 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 56
Verdict: ACCEPTED
input |
---|
9 2 |
correct output |
---|
GG HG HH JJ FJ ... |
user output |
---|
BB BC CC NN NO ... |
Test 57
Verdict: ACCEPTED
input |
---|
9 3 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 58
Verdict: ACCEPTED
input |
---|
9 4 |
correct output |
---|
GGQQ HGRQ HHRR JJTT FJPT ... |
user output |
---|
BBJJ BCJK CCKK NNVV NOVW ... |
Test 59
Verdict: WRONG ANSWER
input |
---|
9 5 |
correct output |
---|
GGQQV GMQVV IMMXX IITTX FFTUU ... |
user output |
---|
IMPOSSIBLE |
Test 60
Verdict: ACCEPTED
input |
---|
9 6 |
correct output |
---|
GGQQBB HGRQCB HHRRCC JJOYYE JOOYEE ... |
user output |
---|
BBJJBB BCJKBC CCKKCC NNVVNN NOVWNO ... |
Test 61
Verdict: WRONG ANSWER
input |
---|
9 7 |
correct output |
---|
GGQQVGG GMQVVHG IMMXXHH IITTXJJ FFTUUFJ ... |
user output |
---|
IMPOSSIBLE |
Test 62
Verdict: ACCEPTED
input |
---|
9 8 |
correct output |
---|
GGQQBBLL HGRQCBML HHRRCCMM JJTTEEOO FJPTAEKO ... |
user output |
---|
BBJJBBJJ BCJKBCJK CCKKCCKK NNVVNNVV NOVWNOVW ... |
Test 63
Verdict: WRONG ANSWER
input |
---|
9 9 |
correct output |
---|
GHHJJGGII GGHJOGLIN QQSOOLLNN QVSSYVVXX VVDYYVBXD ... |
user output |
---|
IMPOSSIBLE |
Test 64
Verdict: ACCEPTED
input |
---|
9 10 |
correct output |
---|
GGIIFFHHJJ GLINFKHMJO LLNNKKMMOO VVXXUUWWYY VBXDUAWCYE ... |
user output |
---|
BBJJBBJJBB BCJKBCJKBC CCKKCCKKCC NNVVNNVVNN NOVWNOVWNO ... Truncated |
Test 65
Verdict: ACCEPTED
input |
---|
10 3 |
correct output |
---|
GGL GLL IIN INN FFK ... |
user output |
---|
DDE DEE LLM LMM DDE ... |
Test 66
Verdict: ACCEPTED
input |
---|
10 6 |
correct output |
---|
GGLVVB GLLVBB IINXXD INNXDD FFKUUA ... |
user output |
---|
DDEPPQ DEEPQQ LLMXXY LMMXYY DDEPPQ ... |
Test 67
Verdict: ACCEPTED
input |
---|
10 9 |
correct output |
---|
GGLVVBLLQ GLLVBBLQQ IINXXDNNS INNXDDNSS FFKUUAKKP ... |
user output |
---|
DDEPPQLLM DEEPQQLMM LLMXXYTTU LMMXYYTUU DDEPPQLLM ... Truncated |
Test 68
Verdict: ACCEPTED
input |
---|
81 88 |
correct output |
---|
GGIIFFHHJJGGIIFFHHJJGGIIFFHHJJ... |
user output |
---|
BBJJBBJJBBJJBBJJBBJJBBJJBBJJBB... Truncated |
Test 69
Verdict: ACCEPTED
input |
---|
32 27 |
correct output |
---|
GGLVVBLLQBBGQQVGGLVVBLLQBBG GLLVBBLQQBGGQVVGLLVBBLQQBGG IINXXDNNSDDISSXIINXXDNNSDDI INNXDDNSSDIISXXINNXDDNSSDII FFKUUAKKPAAFPPUFFKUUAKKPAAF ... |
user output |
---|
DDEPPQLLMHHIDDEPPQLLMHHIDDE DEEPQQLMMHIIDEEPQQLMMHIIDEE LLMXXYTTUPPQLLMXXYTTUPPQLLM LMMXYY ... Truncated |
Test 70
Verdict: ACCEPTED
input |
---|
63 76 |
correct output |
---|
GGIIFFHHJJGGIIFFHHJJGGIIFFHHJJ... |
user output |
---|
BBJJBBJJBBJJBBJJBBJJBBJJBBJJBB... Truncated |
Test 71
Verdict: ACCEPTED
input |
---|
60 80 |
correct output |
---|
GGIIFFHHJJGGIIFFHHJJGGIIFFHHJJ... |
user output |
---|
BBJJBBJJBBJJBBJJBBJJBBJJBBJJBB... Truncated |
Test 72
Verdict: WRONG ANSWER
input |
---|
21 49 |
correct output |
---|
GHHJJGGIIFFHHJJGGIIFFHHJJGGIIF... |
user output |
---|
IMPOSSIBLE |
Test 73
Verdict: ACCEPTED
input |
---|
66 88 |
correct output |
---|
GGIIFFHHJJGGIIFFHHJJGGIIFFHHJJ... |
user output |
---|
BBJJBBJJBBJJBBJJBBJJBBJJBBJJBB... Truncated |
Test 74
Verdict: ACCEPTED
input |
---|
98 42 |
correct output |
---|
GGLVVBLLQBBGQQVGGLVVBLLQBBGQQV... |
user output |
---|
DDEPPQLLMHHIDDEPPQLLMHHIDDEPPQ... Truncated |
Test 75
Verdict: WRONG ANSWER
input |
---|
21 67 |
correct output |
---|
GHHJJGGIIFFHHJJGGIIFFHHJJGGIIF... |
user output |
---|
IMPOSSIBLE |
Test 76
Verdict: WRONG ANSWER
input |
---|
87 13 |
correct output |
---|
GGQQVGGQQBBLL GMQVVHGRQCBML IMMXXHHRRCCMM IITTXJJTTEEOO FFTUUFJPTAEKO ... |
user output |
---|
IMPOSSIBLE |
Test 77
Verdict: WRONG ANSWER
input |
---|
60 67 |
correct output |
---|
GHHJJGGIIFFHHJJGGIIFFHHJJGGIIF... |
user output |
---|
BBJJ BCJK CCKK NNVV NOVW ... Truncated |
Test 78
Verdict: WRONG ANSWER
input |
---|
13 57 |
correct output |
---|
GGIIFGGIIFFHHJJGGIIFFHHJJGGIIF... |
user output |
---|
IMPOSSIBLE |
Test 79
Verdict: ACCEPTED
input |
---|
50 12 |
correct output |
---|
GGLVVBLLQBBG GLLVBBLQQBGG IINXXDNNSDDI INNXDDNSSDII FFKUUAKKPAAF ... |
user output |
---|
DDEPPQLLMHHI DEEPQQLMMHII LLMXXYTTUPPQ LMMXYYTUUPQQ DDEPPQLLMHHI ... Truncated |
Test 80
Verdict: WRONG ANSWER
input |
---|
21 39 |
correct output |
---|
GHHJJGGIIFFHHJJGGIIFFHHJJGGIIF... |
user output |
---|
IMPOSSIBLE |
Test 81
Verdict: ACCEPTED
input |
---|
19 66 |
correct output |
---|
GGIIFFHHJJGGIIFFHHJJGGIIFFHHJJ... |
user output |
---|
DDEPPQLLMHHIDDEPPQLLMHHIDDEPPQ... Truncated |
Test 82
Verdict: ACCEPTED
input |
---|
86 72 |
correct output |
---|
GGLVVBLLQBBGQQVGGLVVBLLQBBGQQV... |
user output |
---|
DDEPPQLLMHHIDDEPPQLLMHHIDDEPPQ... Truncated |
Test 83
Verdict: ACCEPTED
input |
---|
46 66 |
correct output |
---|
GHHJFFHIIFGGIJJGHHJFFHIIFGGIJJ... |
user output |
---|
DDEPPQLLMHHIDDEPPQLLMHHIDDEPPQ... Truncated |
Test 84
Verdict: ACCEPTED
input |
---|
96 72 |
correct output |
---|
GGLVVBLLQBBGQQVGGLVVBLLQBBGQQV... |
user output |
---|
BBJJBBJJBBJJBBJJBBJJBBJJBBJJBB... Truncated |
Test 85
Verdict: ACCEPTED
input |
---|
93 40 |
correct output |
---|
GGQQBBLLVVGGQQBBLLVVGGQQBBLLVV... |
user output |
---|
BBJJBBJJBBJJBBJJBBJJBBJJBBJJBB... Truncated |
Test 86
Verdict: ACCEPTED
input |
---|
92 69 |
correct output |
---|
GGLVVBLLQBBGQQVGGLVVBLLQBBGQQV... |
user output |
---|
DDEPPQLLMHHIDDEPPQLLMHHIDDEPPQ... Truncated |
Test 87
Verdict: ACCEPTED
input |
---|
13 96 |
correct output |
---|
GGIIFFHHJJGGIIFFHHJJGGIIFFHHJJ... |
user output |
---|
DDEPPQLLMHHIDDEPPQLLMHHIDDEPPQ... Truncated |
Test 88
Verdict: ACCEPTED
input |
---|
3 99 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |
Test 89
Verdict: ACCEPTED
input |
---|
3 100 |
correct output |
---|
GGIIFFHHJJGGIIFFHHJJGGIIFFHHJJ... |
user output |
---|
BBJJBBJJBBJJBBJJBBJJBBJJBBJJBB... Truncated |
Test 90
Verdict: ACCEPTED
input |
---|
99 100 |
correct output |
---|
GGIIFFHHJJGGIIFFHHJJGGIIFFHHJJ... |
user output |
---|
BBJJBBJJBBJJBBJJBBJJBBJJBBJJBB... Truncated |
Test 91
Verdict: ACCEPTED
input |
---|
100 100 |
correct output |
---|
IMPOSSIBLE |
user output |
---|
IMPOSSIBLE |