Submission #74648291
Source Code Expand
import sys
input = sys.stdin.readline
def solve():
M, D = map(int, input().split())
check = False
if M == 1 and D == 7:
check = True
elif M == 3 and D == 3:
check = True
elif M == 5 and D == 5:
check = True
elif M == 7 and D == 7:
check = True
elif M == 9 and D == 9:
check = True
print("Yes" if check else "No")
solve()
Submission Info
| Submission Time | |
|---|---|
| Task | A - Gothec |
| User | eity |
| Language | Python (CPython 3.13.7) |
| Score | 100 |
| Code Size | 424 Byte |
| Status | AC |
| Exec Time | 10 ms |
| Memory | 9284 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 00-sample-01.txt, 00-sample-02.txt, 00-sample-03.txt, 00-sample-04.txt |
| All | 00-sample-01.txt, 00-sample-02.txt, 00-sample-03.txt, 00-sample-04.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 |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 00-sample-01.txt | AC | 9 ms | 9160 KiB |
| 00-sample-02.txt | AC | 10 ms | 9156 KiB |
| 00-sample-03.txt | AC | 9 ms | 9188 KiB |
| 00-sample-04.txt | AC | 9 ms | 9172 KiB |
| 01-01.txt | AC | 9 ms | 9004 KiB |
| 01-02.txt | AC | 10 ms | 9112 KiB |
| 01-03.txt | AC | 10 ms | 9156 KiB |
| 01-04.txt | AC | 10 ms | 9284 KiB |
| 01-05.txt | AC | 9 ms | 9172 KiB |
| 01-06.txt | AC | 9 ms | 9188 KiB |
| 01-07.txt | AC | 10 ms | 9156 KiB |
| 01-08.txt | AC | 9 ms | 9284 KiB |
| 01-09.txt | AC | 9 ms | 9160 KiB |
| 01-10.txt | AC | 10 ms | 9284 KiB |
| 01-11.txt | AC | 10 ms | 9004 KiB |
| 01-12.txt | AC | 10 ms | 9152 KiB |
| 01-13.txt | AC | 9 ms | 9188 KiB |