Submission #43094687
Source Code Expand
import sys
import itertools
import math
import collections
import bisect
import heapq
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
INF = 10**18
def main():
S = list(map(int, input().split()))
b = S[0]
if 100 > b and b > 675:
print("No")
exit()
if b % 25 != 0:
print("No")
exit()
for si in S[1:]:
if b > si:
print("No")
exit()
if 100 > si and si > 675:
print("No")
exit()
if si % 25 != 0:
print("No")
exit()
b = si
print("Yes")
main()
Submission Info
| Submission Time | |
|---|---|
| Task | A - New Scheme |
| User | KOKI1634 |
| Language | PyPy3 (7.3.0) |
| Score | 0 |
| Code Size | 612 Byte |
| Status | WA |
| Exec Time | 77 ms |
| Memory | 65544 KiB |
Judge Result
| Set Name | Sample | All | ||||||
|---|---|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 0 / 100 | ||||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt |
| All | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_random_00.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt, 01_random_09.txt, 01_random_10.txt, 01_random_11.txt, 01_random_12.txt, 02_handmade_00.txt, 02_handmade_01.txt, 02_handmade_02.txt, 02_handmade_03.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 00_sample_00.txt | AC | 77 ms | 65272 KiB |
| 00_sample_01.txt | AC | 58 ms | 65480 KiB |
| 00_sample_02.txt | AC | 59 ms | 65544 KiB |
| 01_random_00.txt | AC | 59 ms | 65460 KiB |
| 01_random_01.txt | AC | 60 ms | 65444 KiB |
| 01_random_02.txt | AC | 59 ms | 65476 KiB |
| 01_random_03.txt | AC | 60 ms | 65300 KiB |
| 01_random_04.txt | AC | 65 ms | 65284 KiB |
| 01_random_05.txt | WA | 58 ms | 65444 KiB |
| 01_random_06.txt | AC | 59 ms | 65416 KiB |
| 01_random_07.txt | AC | 58 ms | 65288 KiB |
| 01_random_08.txt | AC | 59 ms | 65500 KiB |
| 01_random_09.txt | AC | 62 ms | 65460 KiB |
| 01_random_10.txt | AC | 60 ms | 65452 KiB |
| 01_random_11.txt | AC | 58 ms | 65492 KiB |
| 01_random_12.txt | AC | 59 ms | 65512 KiB |
| 02_handmade_00.txt | WA | 58 ms | 65492 KiB |
| 02_handmade_01.txt | AC | 59 ms | 65524 KiB |
| 02_handmade_02.txt | AC | 56 ms | 65284 KiB |
| 02_handmade_03.txt | WA | 56 ms | 65168 KiB |