Submission #59156762


Source Code Expand

s = [input() for _ in range(8)]

rt = 0
for x in range(8):
    for y in range(8):
        if (not '#' in s[x]) and (not '#' in [s[i][y] for i in range(8)]):
            rt += 1

print(rt)

Submission Info

Submission Time
Task B - Avoid Rook Attack
User permut
Language Python (CPython 3.11.4)
Score 200
Code Size 197 Byte
Status AC
Exec Time 9 ms
Memory 8736 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 3
AC × 17
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt, 01_random_09.txt, 01_random_10.txt, 01_random_11.txt, 01_random_12.txt, 01_random_13.txt, 01_random_14.txt, 01_random_15.txt, 01_random_16.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 9 ms 8588 KiB
00_sample_01.txt AC 9 ms 8432 KiB
00_sample_02.txt AC 9 ms 8420 KiB
01_random_03.txt AC 9 ms 8484 KiB
01_random_04.txt AC 9 ms 8452 KiB
01_random_05.txt AC 9 ms 8468 KiB
01_random_06.txt AC 9 ms 8472 KiB
01_random_07.txt AC 9 ms 8624 KiB
01_random_08.txt AC 9 ms 8440 KiB
01_random_09.txt AC 9 ms 8520 KiB
01_random_10.txt AC 9 ms 8544 KiB
01_random_11.txt AC 9 ms 8440 KiB
01_random_12.txt AC 9 ms 8488 KiB
01_random_13.txt AC 9 ms 8408 KiB
01_random_14.txt AC 9 ms 8524 KiB
01_random_15.txt AC 9 ms 8408 KiB
01_random_16.txt AC 9 ms 8736 KiB