Submission #5884535
Source Code Expand
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 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 0 / 400 | ||||
| Status |
|
|
| 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 KiB |
| 02.txt | WA | 148 ms | 12408 KiB |
| 11.txt | WA | 511 ms | 63336 KiB |
| 12.txt | WA | 565 ms | 63356 KiB |
| 13.txt | WA | 523 ms | 63208 KiB |
| 14.txt | WA | 515 ms | 63356 KiB |
| 15.txt | WA | 491 ms | 60520 KiB |
| 16.txt | WA | 509 ms | 63228 KiB |
| 17.txt | WA | 523 ms | 63336 KiB |
| 18.txt | WA | 525 ms | 63356 KiB |
| 19.txt | WA | 470 ms | 57596 KiB |
| 20.txt | WA | 151 ms | 12428 KiB |
| 21.txt | WA | 148 ms | 12428 KiB |
| 22.txt | WA | 152 ms | 12924 KiB |
| 23.txt | WA | 560 ms | 63356 KiB |
| 24.txt | WA | 146 ms | 12428 KiB |
| 25.txt | WA | 152 ms | 14520 KiB |