Submission #399348


Source Code Expand

def replacer(li, ch):
    for elem in li:
        for i in range(4):
            table[i] = table[i].replace(str(elem), ch)

table = ["7 8 9 0", " 4 5 6 ", "  2 3  ", "   1   "]
a, b = map(int, input().split())

replacer(map(int, input().split()), ".")
replacer(map(int, input().split()), "o")
replacer(list(range(0, 10)), "x")

for i in range(4):
    print(table[i])

Submission Info

Submission Time
Task B - ボウリングゲーム
User yumechi
Language Python (3.2.3)
Score 100
Code Size 380 Byte
Status AC
Exec Time 137 ms
Memory 8612 KB

Judge Result

Set Name All
Score / Max Score 100 / 100
Status
AC × 21
Set Name Test Cases
All test_00.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt, test_07.txt, test_08.txt, test_09.txt, test_10.txt, test_11.txt, test_12.txt, test_13.txt, test_14.txt, test_empty.txt, test_spare.txt, test_strike.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
sample_01.txt AC 132 ms 8428 KB
sample_02.txt AC 131 ms 8432 KB
sample_03.txt AC 129 ms 8560 KB
test_00.txt AC 131 ms 8428 KB
test_01.txt AC 130 ms 8432 KB
test_02.txt AC 131 ms 8556 KB
test_03.txt AC 130 ms 8428 KB
test_04.txt AC 131 ms 8432 KB
test_05.txt AC 130 ms 8432 KB
test_06.txt AC 132 ms 8428 KB
test_07.txt AC 131 ms 8432 KB
test_08.txt AC 130 ms 8432 KB
test_09.txt AC 129 ms 8432 KB
test_10.txt AC 134 ms 8432 KB
test_11.txt AC 137 ms 8612 KB
test_12.txt AC 134 ms 8528 KB
test_13.txt AC 133 ms 8604 KB
test_14.txt AC 131 ms 8432 KB
test_empty.txt AC 134 ms 8512 KB
test_spare.txt AC 137 ms 8556 KB
test_strike.txt AC 130 ms 8432 KB