Submission #7577315
Source Code Expand
sx, sy, gx, gy, T, V = map(int, input().split()) N = int(input()) visitable = False for _ in range(N): x, y = map(int, input().split()) dis_s = (sx-x)**2 + (sy-y)**2 dis_g = (gx-x)**2 + (gy-y)**2 if dis_s**0.5 + dis_d**0.5 <= T*V: visitable = True if visitable: print('YES') else: print('NO')
Submission Info
Submission Time | |
---|---|
Task | A - ハンドルネーム |
User | wishangel |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 322 Byte |
Status | RE |
Exec Time | 18 ms |
Memory | 3060 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 0 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | sample_01.txt, sample_02.txt, test_aaaaaaaaaa.txt, test_myonmyon.txt, test_nemui.txt, test_onakasuita.txt, test_p.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01.txt | RE | 17 ms | 3060 KB |
sample_02.txt | RE | 17 ms | 3060 KB |
test_aaaaaaaaaa.txt | RE | 17 ms | 3060 KB |
test_myonmyon.txt | RE | 18 ms | 3060 KB |
test_nemui.txt | RE | 18 ms | 3060 KB |
test_onakasuita.txt | RE | 17 ms | 3060 KB |
test_p.txt | RE | 18 ms | 3060 KB |