Submission #5884643


Source Code Expand

Copy
import numpy as np
import sys
buf = sys.stdin.buffer

H,W = map(int,buf.readline().split())
# 周りに壁を、0,1化、壁を0で持つ
grid = np.zeros((H+2,W+2),dtype=np.bool)
grid[1:-1,1:] = (np.frombuffer(buf.read(H*(W+1)),dtype='S1') == b'.').reshape((H,W+1))

Submission Info

Submission Time
Task D - Lamp
User maspy
Language Python (3.4.3)
Score 0
Code Size 276 Byte
Status WA
Exec Time 196 ms
Memory 20276 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 12484 KB
02.txt WA 148 ms 12484 KB
11.txt WA 180 ms 20276 KB
12.txt WA 180 ms 20276 KB
13.txt WA 193 ms 20216 KB
14.txt WA 185 ms 20276 KB
15.txt WA 179 ms 19784 KB
16.txt WA 181 ms 20088 KB
17.txt WA 190 ms 20076 KB
18.txt WA 196 ms 20076 KB
19.txt WA 178 ms 19252 KB
20.txt WA 148 ms 12484 KB
21.txt WA 147 ms 12352 KB
22.txt WA 149 ms 12484 KB
23.txt WA 181 ms 20104 KB
24.txt WA 148 ms 12356 KB
25.txt WA 148 ms 12484 KB