QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#113793#4123. 立体图alch0775 111ms53268kbC++2011.5kb2023-06-19 13:12:322023-06-19 13:12:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 5
Accepted
time: 98ms
memory: 53268kb

input:

100 100
44 43 53 37 46 41 37 33 32 40 5 13 8 18 5 33 30 42 31 46 19 16 19 32 17 12 18 23 18 16 31 36 38 29 41 53 53 53 36 47 80 98 82 89 95 39 46 44 34 35 14 28 20 25 29 91 91 97 86 97 44 36 36 33 42 23 20 38 32 27 38 38 27 30 31 35 32 32 27 35 13 11 18 16 17 20 25 26 26 18 22 34 35 34 27 9 24 14 8 ...

output:

                                                                                                                                                                                                                                                                                                            ...

result:

ok 1185 lines

Test #2:

score: 5
Accepted
time: 108ms
memory: 53080kb

input:

100 100
42 45 50 46 51 17 14 27 25 17 37 46 44 51 38 40 45 54 41 40 25 27 36 23 24 16 16 8 14 14 34 33 25 30 23 23 13 13 7 14 21 34 31 29 16 21 9 27 28 23 17 15 20 15 27 15 18 27 17 16 14 22 8 18 16 14 18 20 12 5 35 29 28 30 36 32 32 32 25 26 20 19 9 4 16 53 41 37 39 43 13 15 10 8 20 54 43 39 38 45 ...

output:

                                                                                                                                                                                                                                                                                                            ...

result:

ok 1169 lines

Test #3:

score: 5
Accepted
time: 107ms
memory: 53068kb

input:

100 100
51 44 39 56 39 28 25 16 9 15 19 18 21 26 10 28 27 30 35 38 12 13 16 30 24 12 21 14 18 13 34 47 49 38 35 12 7 17 8 12 36 39 54 44 38 57 44 40 56 53 33 48 41 47 39 38 46 35 48 41 15 25 25 20 15 19 18 36 29 35 32 36 34 43 40 92 87 94 97 91 18 16 32 24 25 84 87 94 87 86 16 12 16 22 11 29 30 38 3...

output:

                                                                                                                                                                                                                                                                                                            ...

result:

ok 1189 lines

Test #4:

score: 5
Accepted
time: 105ms
memory: 52904kb

input:

100 100
39 31 37 33 31 91 82 94 98 87 88 81 94 91 87 36 42 32 42 45 25 27 19 19 31 47 35 52 44 41 29 35 23 27 25 37 37 53 51 35 43 50 42 34 47 29 24 29 30 24 17 7 16 22 20 49 39 48 52 56 48 42 52 39 58 51 33 47 44 33 37 24 22 24 28 9 15 5 22 18 27 27 35 39 36 26 14 17 18 10 35 30 26 37 33 37 35 50 3...

output:

                                                                                                                                                                                                                                                                                                            ...

result:

ok 1185 lines

Test #5:

score: 5
Accepted
time: 101ms
memory: 53116kb

input:

100 100
42 56 47 50 49 95 91 94 92 99 27 26 16 21 18 29 28 44 32 28 38 19 31 29 38 9 11 9 13 13 15 6 6 7 11 24 27 23 24 28 37 35 44 48 39 17 15 17 18 20 31 27 39 36 24 21 2 19 17 15 25 24 32 22 32 19 17 13 15 16 48 45 53 41 39 16 14 8 6 20 44 48 46 49 51 38 27 25 39 38 33 25 34 29 22 15 32 15 26 18 ...

output:

                                                                                                                                                                                                                                                                                                            ...

result:

ok 1193 lines

Test #6:

score: 5
Accepted
time: 102ms
memory: 52876kb

input:

100 100
24 12 18 19 6 31 39 44 45 45 21 21 31 29 29 10 7 15 12 15 31 33 32 24 23 25 29 42 39 35 16 29 32 26 24 50 44 46 41 48 41 27 27 27 28 30 42 46 32 43 31 22 24 31 19 34 28 26 36 24 11 13 21 9 9 42 37 45 37 39 4 15 22 15 10 18 2 7 8 5 40 36 43 45 43 89 85 93 93 88 44 51 56 49 57 29 37 37 45 27 
...

output:

                                                                                                                                                                                                                                                                                                            ...

result:

ok 1185 lines

Test #7:

score: 5
Accepted
time: 103ms
memory: 52844kb

input:

100 100
34 45 44 39 50 5 6 12 8 3 28 35 34 31 22 46 47 31 34 39 27 27 33 30 33 22 30 18 20 26 22 30 36 27 38 30 31 33 26 31 23 33 22 27 30 40 44 32 37 46 32 39 39 36 29 27 17 27 16 23 4 1 4 8 14 3 13 13 6 1 39 56 48 51 53 47 50 50 49 55 20 21 27 22 31 27 32 30 41 33 14 18 18 19 14 37 26 31 25 35 
51...

output:

                                                                                                                                                                                                                                                                                                            ...

result:

ok 1173 lines

Test #8:

score: 5
Accepted
time: 102ms
memory: 53108kb

input:

100 100
21 35 19 31 33 38 50 31 31 43 17 18 18 17 18 17 24 33 21 19 29 29 32 39 27 40 27 32 30 25 48 34 43 37 34 10 24 10 16 23 39 38 38 22 39 87 99 89 97 88 23 30 13 12 27 22 14 4 16 7 82 94 84 85 95 42 39 31 38 36 21 27 33 21 35 40 32 38 46 46 35 40 42 44 49 17 28 15 25 10 44 43 30 42 31 14 28 24 ...

output:

                                                                                                                                                                                                                                                                                                            ...

result:

ok 1193 lines

Test #9:

score: 0
Wrong Answer
time: 12ms
memory: 8068kb

input:

10 10
9 9 2 5 4 6 9 13 6 15 
13 15 6 11 2 8 6 6 2 14 
4 11 14 15 11 1 1 9 4 3 
13 13 3 7 9 6 12 9 4 2 
8 1 8 6 3 1 13 9 7 6 
14 2 1 12 8 4 4 9 12 8 
3 1 12 5 7 12 11 3 5 6 
11 5 6 11 10 15 11 14 15 9 
5 13 10 5 2 10 8 5 3 11 
4 5 12 15 1 10 11 11 5 8 
B**
RRR
BB*

output:

                                                                                                                +-------+
                                                                                                               /P\PPPP'/|
                                                        ...

result:

wrong answer 62nd lines differ - expected: '           /|\BBBBB/P\PP|BB/B\...R/|\:R|KK/|\:K|BB/B\BB|/R/|\:R|', found: '           /|\BBBBB/P\PP|BB/B\...R/|\:R|KK/|\:K|BB/B\BB|/R/|\:R|'

Test #10:

score: 5
Accepted
time: 12ms
memory: 8028kb

input:

10 10
1 10 12 7 4 5 9 7 4 5 
4 8 13 10 14 6 12 15 14 12 
12 1 7 7 3 15 4 9 13 7 
15 13 2 11 11 12 1 11 3 11 
15 6 11 12 8 9 9 11 15 7 
15 11 15 6 9 2 6 12 11 10 
3 2 14 11 13 1 7 5 11 9 
15 2 7 2 5 6 10 13 1 1 
12 15 11 11 6 11 4 3 7 14 
12 2 1 10 12 5 10 4 1 5 
*RB
**G
*GR

output:

                                                                                            +-------+                    
                                                                                           /W\WWWW'/|                    
                                                        ...

result:

ok 157 lines

Test #11:

score: 0
Wrong Answer
time: 12ms
memory: 7960kb

input:

10 10
7 13 4 11 15 7 2 12 5 1 
2 6 6 7 14 13 8 15 5 4 
4 3 9 8 5 9 6 8 7 6 
4 13 3 14 1 9 5 2 5 9 
9 14 7 7 5 12 4 12 11 15 
1 6 9 1 14 13 10 4 12 1 
9 7 6 3 6 6 12 2 14 8 
11 15 6 9 6 3 5 1 6 7 
7 6 13 1 14 11 13 8 6 2 
15 15 8 12 9 13 2 5 7 8 
GRR
*GB
BG*

output:

                                                                        +-------+                                        
                                                                       /W\WWWW'/|                                        
                                                        ...

result:

wrong answer 58th lines differ - expected: '|\CCCCC/|\CCCCC/|\:B|GG/G\GG|/...CC|GG/G\CC|/P/|\:B|GG/G\GG|/P/|', found: '|\CCCCC/|\CCCCC/|\:B|GG/G\GG|/...:B|GG/G\GG|/P/|                '

Test #12:

score: 0
Wrong Answer
time: 12ms
memory: 9960kb

input:

10 10
14 14 3 3 11 4 14 14 7 2 
2 12 1 15 12 1 4 11 5 2 
10 11 5 5 11 1 2 7 3 15 
4 1 5 7 10 15 2 9 5 15 
2 6 11 2 12 15 10 7 10 14 
15 11 1 12 15 11 12 8 9 6 
15 13 7 4 11 8 4 4 1 15 
11 3 13 13 11 1 12 5 8 13 
11 7 15 11 3 15 14 6 14 7 
12 13 11 10 2 13 2 12 9 3 
*B*
RG*
GB*

output:

                                                            +-------+                                                    
                                                           /W\WWWW'/|                                                    
                                                        ...

result:

wrong answer 30th lines differ - expected: '            |CC/C\CC|/K/W\WWWW...  |CC/C\CC|/K/|\GG|/K/|\:K|/K/|', found: '            |CC/C\CC|/K/W\WWWW...CC|/K/|\GG|/K/|\:K|/K/|        '

Test #13:

score: 5
Accepted
time: 12ms
memory: 10024kb

input:

10 10
1 14 15 9 1 1 7 5 3 11 
10 14 7 9 4 4 14 2 7 14 
10 8 5 13 14 15 15 6 8 9 
14 15 14 13 8 15 14 6 11 8 
1 5 6 7 6 10 2 4 3 1 
9 13 8 13 10 13 4 2 10 12 
10 8 11 9 6 11 15 11 1 2 
3 2 6 9 15 3 10 9 6 12 
9 15 1 8 4 3 13 8 4 14 
11 5 7 13 5 4 8 11 14 1 
G*R
***
**G

output:

                                                        +-------+                                                        
                                                       /Y\YYYY'/|                                                        
                                                      /Y...

result:

ok 161 lines

Test #14:

score: 5
Accepted
time: 111ms
memory: 52852kb

input:

100 100
40 53 42 50 43 38 46 48 32 37 48 34 49 45 34 33 29 29 31 34 40 38 56 51 43 96 81 84 97 93 17 13 16 21 11 25 19 14 11 18 31 49 35 40 35 46 39 33 50 40 10 16 27 23 27 17 16 23 26 30 18 27 24 21 32 24 33 33 33 31 28 14 23 12 19 11 6 15 16 8 19 23 21 20 14 7 8 13 9 9 44 56 38 45 40 98 86 98 96 9...

output:

                                                                                                                                                                                                                                                                                                            ...

result:

ok 1185 lines

Test #15:

score: 0
Wrong Answer
time: 103ms
memory: 52924kb

input:

100 100
26 27 18 21 23 42 52 58 52 44 94 91 82 98 81 54 52 56 56 50 41 32 32 40 43 45 43 54 40 54 44 40 54 38 41 27 15 34 25 29 21 27 19 32 29 23 30 16 28 20 18 14 11 10 18 34 29 32 28 30 91 80 99 97 80 12 24 9 23 21 21 14 22 21 21 42 51 49 40 49 39 39 24 27 37 17 7 14 9 10 43 51 39 54 56 42 44 44 5...

output:

                                                                                                                                                                                                                                                                                                            ...

result:

wrong answer 58th lines differ - expected: '                              ...YY|/R/Y\YY|YY/Y\YY|/P/|\RR|/P/|', found: '                              ...                               '

Test #16:

score: 0
Wrong Answer
time: 107ms
memory: 52824kb

input:

100 100
46 38 44 48 49 15 21 6 17 16 31 17 17 32 29 37 28 31 40 37 16 31 22 22 18 23 34 26 31 23 20 18 6 7 22 25 30 19 18 23 51 40 43 53 40 14 20 22 13 29 37 31 37 38 31 19 11 25 9 10 16 28 29 27 22 26 9 24 22 23 9 13 13 4 18 41 55 44 45 51 30 35 29 30 44 22 31 29 34 24 7 19 12 20 17 48 50 45 50 47 ...

output:

                                                                                                                                                                                                                                                                                                            ...

result:

wrong answer 2nd lines differ - expected: '                              ...                     /W\WWWW'/|', found: '                              ...                               '

Test #17:

score: 5
Accepted
time: 99ms
memory: 52840kb

input:

100 100
47 39 42 40 48 48 46 43 56 52 40 33 37 36 41 22 19 14 14 21 21 10 12 8 16 50 55 40 57 50 59 51 48 42 43 45 56 39 54 50 44 38 43 45 46 23 31 35 25 23 8 6 17 16 5 14 23 6 21 16 29 26 18 30 13 15 18 8 14 9 41 47 40 40 53 53 53 49 57 57 31 17 19 13 27 17 26 19 15 18 45 37 39 44 41 6 16 9 8 23 
3...

output:

                                                                                                                                                                                                                                                                                                            ...

result:

ok 1173 lines

Test #18:

score: 5
Accepted
time: 93ms
memory: 52960kb

input:

100 100
19 7 18 21 21 33 40 34 26 29 29 47 30 29 39 34 39 32 28 21 27 15 24 19 14 23 34 37 26 32 35 33 42 46 33 8 9 13 23 8 35 46 50 40 53 54 55 48 50 40 21 31 33 31 34 21 31 25 27 35 4 11 14 4 14 27 32 30 29 33 52 41 42 39 34 21 14 11 2 20 36 31 29 37 32 38 57 44 44 52 13 16 3 11 3 34 29 24 15 30 
...

output:

                                                                                                                                                                                                                                                                                                            ...

result:

ok 1173 lines

Test #19:

score: 5
Accepted
time: 109ms
memory: 52752kb

input:

100 100
2 15 6 19 15 53 34 34 38 52 94 94 96 86 86 41 42 31 29 28 44 53 48 53 51 42 29 43 27 27 34 36 49 50 48 57 47 53 45 55 20 27 28 25 32 38 29 31 31 39 25 28 20 33 27 30 16 25 24 23 50 49 53 44 42 26 27 27 12 24 21 22 34 32 25 51 44 47 39 38 39 36 35 51 51 39 34 29 41 43 30 36 33 31 29 43 42 45 ...

output:

                                                                                                                                                                                                                                                                                                            ...

result:

ok 1185 lines

Test #20:

score: 5
Accepted
time: 94ms
memory: 52852kb

input:

100 100
21 18 12 24 29 59 50 45 59 54 30 41 43 36 33 39 54 36 35 35 17 12 6 18 5 33 29 38 48 43 22 17 31 31 28 57 45 50 52 40 41 33 43 45 38 36 37 45 42 45 84 90 80 98 80 42 36 47 43 47 24 11 29 22 25 43 42 53 53 46 47 51 56 56 59 31 23 30 27 39 38 43 56 40 42 40 32 37 39 27 56 50 55 40 56 82 97 85 ...

output:

                                                                                                                                                                                                                                                                                                            ...

result:

ok 1185 lines