Submission #48101924
Source Code Expand
import sys
sys.setrecursionlimit(210000)
def eprint(*args, **kwargs):
print(
'[[31mEPRINT[0m]',
*args, file=sys.stderr, **kwargs)
def main() -> None:
M, D = map(int, input().split())
y, m, d = map(int, input().split())
d += 1
if d > D:
d = 1
m += 1
if m > M:
m = 1
y += 1
print(y, m, d)
if __name__ == '__main__':
main()
Submission Info
| Submission Time | |
|---|---|
| Task | A - Tomorrow |
| User | takedarts |
| Language | Python (PyPy 3.10-v7.3.12) |
| Score | 100 |
| Code Size | 413 Byte |
| Status | AC |
| Exec Time | 57 ms |
| Memory | 76600 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample_01.txt, sample_02.txt, sample_03.txt |
| All | random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, sample_01.txt, sample_02.txt, sample_03.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| random_01.txt | AC | 55 ms | 76508 KiB |
| random_02.txt | AC | 55 ms | 76396 KiB |
| random_03.txt | AC | 57 ms | 76484 KiB |
| random_04.txt | AC | 55 ms | 76532 KiB |
| random_05.txt | AC | 55 ms | 76444 KiB |
| random_06.txt | AC | 55 ms | 76300 KiB |
| random_07.txt | AC | 55 ms | 76560 KiB |
| random_08.txt | AC | 55 ms | 76468 KiB |
| sample_01.txt | AC | 55 ms | 76600 KiB |
| sample_02.txt | AC | 55 ms | 76276 KiB |
| sample_03.txt | AC | 55 ms | 76556 KiB |