Submission #5884535


Source Code Expand

Copy
import numpy as np

H,W = map(int,input().split())
# 周りに壁を、0,1化、壁を0で持つ
grid = np.zeros((H+2,W+2),dtype=np.bool)
grid[1:-1,1:-1] = (np.array([list(input()) for _ in range(H)]) == '.')

Submission Info

Submission Time
Task D - Lamp
User maspy
Language Python (3.4.3)
Score 0
Code Size 215 Byte
Status WA
Exec Time 565 ms
Memory 63356 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 400
Status
WA × 2
WA × 17
Set Name Test Cases
Sample 01.txt, 02.txt
All 01.txt, 02.txt, 11.txt, 12.txt, 13.txt, 14.txt, 15.txt, 16.txt, 17.txt, 18.txt, 19.txt, 20.txt, 21.txt, 22.txt, 23.txt, 24.txt, 25.txt
Case Name Status Exec Time Memory
01.txt WA 147 ms 13588 KB
02.txt WA 148 ms 12408 KB
11.txt WA 511 ms 63336 KB
12.txt WA 565 ms 63356 KB
13.txt WA 523 ms 63208 KB
14.txt WA 515 ms 63356 KB
15.txt WA 491 ms 60520 KB
16.txt WA 509 ms 63228 KB
17.txt WA 523 ms 63336 KB
18.txt WA 525 ms 63356 KB
19.txt WA 470 ms 57596 KB
20.txt WA 151 ms 12428 KB
21.txt WA 148 ms 12428 KB
22.txt WA 152 ms 12924 KB
23.txt WA 560 ms 63356 KB
24.txt WA 146 ms 12428 KB
25.txt WA 152 ms 14520 KB