QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#465907#7227. The Magic SquareHuangHanShengWA 0ms3812kbC++172.3kb2024-07-07 13:27:312024-07-07 13:27:31

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3668kb

input:

2

output:

Impossible

result:

ok No solution for 2 squares

Test #2:

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

input:

4

output:

Possible
2
1 2 
3 4 

result:

ok answer 4 squares of 1 different sizes in total 2 * 2

Test #3:

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

input:

1

output:

Possible
1
1

result:

ok answer 1 squares of 1 different sizes in total 1 * 1

Test #4:

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

input:

3

output:

Impossible

result:

ok No solution for 3 squares

Test #5:

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

input:

5

output:

Impossible

result:

ok No solution for 5 squares

Test #6:

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

input:

6

output:

Possible
3
1 1 2 
1 1 3 
4 5 6 

result:

ok answer 6 squares of 2 different sizes in total 3 * 3

Test #7:

score: -100
Wrong Answer
time: 0ms
memory: 3732kb

input:

7

output:

Impossible

result:

wrong answer expected Impossible, found Impossible