Submission #5091135
Source Code Expand
H,W = map(int,input().split()) if H%2 and W%2: print('First') print((H+1)//2, (W+1)//2, 0) else: print('Second') while 1: a,b,c = map(int,input().split()) if a == -1: break print(H+1-a, W+1-b, c, flush=True)
Submission Info
Submission Time | |
---|---|
Task | C - Snukeと対戦! |
User | prd_xxx |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 244 Byte |
Status | WA |
Exec Time | 33 ms |
Memory | 3524 KB |
Judge Result
Set Name | Sample | All | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 51 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample-01.txt |
All | sample-01.txt, 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt, 01-09.txt, 01-10.txt, 01-11.txt, 01-12.txt, 01-13.txt, 01-14.txt, 01-15.txt, 01-16.txt, sample-01.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01-01.txt | AC | 19 ms | 3400 KB |
01-02.txt | WA | 19 ms | 3404 KB |
01-03.txt | WA | 19 ms | 3396 KB |
01-04.txt | AC | 19 ms | 3400 KB |
01-05.txt | AC | 33 ms | 3400 KB |
01-06.txt | AC | 31 ms | 3400 KB |
01-07.txt | AC | 30 ms | 3524 KB |
01-08.txt | AC | 31 ms | 3400 KB |
01-09.txt | WA | 19 ms | 3400 KB |
01-10.txt | AC | 19 ms | 3400 KB |
01-11.txt | AC | 19 ms | 3400 KB |
01-12.txt | WA | 21 ms | 3404 KB |
01-13.txt | WA | 21 ms | 3396 KB |
01-14.txt | AC | 21 ms | 3400 KB |
01-15.txt | WA | 23 ms | 3400 KB |
01-16.txt | AC | 26 ms | 3404 KB |
sample-01.txt | AC | 19 ms | 3400 KB |