QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#77028#1185. To argue, or not to argueMinneapolisAC ✓433ms11544kbC++203.1kb2023-02-13 00:31:402023-02-13 00:31:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
2 2 2
..
..
4 4 3
X.X.
....
.X..
...X

output:

8
347040

result:

ok 2 number(s): "8 347040"

Test #2:

score: 0
Accepted
time: 433ms
memory: 11544kb

input:

96
1 144 8
................................................................................................................................................
144 1 31
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
....

output:

517668733
268886110
64664470
926220403
0
0
372341012
839870997
115795952
169129272
928175112
399452284
981581814
563968454
82030165
770277954
161484719
374884294
988612558
269599606
838995341
614914000
779550646
19224822
195892020
368899964
857064056
437999888
225342223
836336621
981420655
30328633
...

result:

ok 96 numbers