QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#320241#8217. King's Dinnerucup-team0724#WA 2ms4000kbC++171.1kb2024-02-03 14:48:572024-02-03 14:48:58

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 4000kb

input:

3
1
2
3

output:

.
#.
#.
#.#
#.#
...

result:

ok all tests correct (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 3728kb

input:

50
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

output:

.
#.
#.
#.#
#.#
...
#.#.
#.#.
.#.#
.#.#
#.#.#
#.#.#
.....
#.#.#
#.#.#
#.#.#.
#.#.#.
.#.#.#
.#.#.#
#.#.#.
#.#.#.
#.#.#.#
#.#.#.#
.#.#.#.
.#.#.#.
#.#.#.#
#.#.#.#
.......
#.#.#.#.
#.#.#.#.
.#.#.#.#
.#.#.#.#
#.#.#.#.
#.#.#.#.
.#.#.#.#
.#.#.#.#
#.#.#.#.#
#.#.#.#.#
.#.#.#.#.
.#.#.#.#.
#.#.#.#.#
#.#.#.#.#
...

result:

wrong answer grid contains two dominoes that are adjacent (test case 4)