Submission #19125023
Source Code Expand
A,B = input().split()
ansa = 0
for i in A:
ansa += int(i)
ansb= 0
for i in B:
ansb += int(i)
print(max(ansa, ansb))
Submission Info
| Submission Time | |
|---|---|
| Task | A - Large Digits |
| User | noyan |
| Language | PyPy3 (7.3.0) |
| Score | 100 |
| Code Size | 134 Byte |
| Status | AC |
| Exec Time | 67 ms |
| Memory | 61560 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 | hand_01.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, sample_01.txt, sample_02.txt, sample_03.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| hand_01.txt | AC | 67 ms | 61520 KiB |
| random_01.txt | AC | 51 ms | 61380 KiB |
| random_02.txt | AC | 47 ms | 61380 KiB |
| random_03.txt | AC | 43 ms | 61560 KiB |
| random_04.txt | AC | 48 ms | 61204 KiB |
| random_05.txt | AC | 48 ms | 61532 KiB |
| random_06.txt | AC | 49 ms | 61552 KiB |
| random_07.txt | AC | 49 ms | 61284 KiB |
| random_08.txt | AC | 51 ms | 61400 KiB |
| random_09.txt | AC | 49 ms | 61512 KiB |
| sample_01.txt | AC | 47 ms | 61256 KiB |
| sample_02.txt | AC | 52 ms | 61232 KiB |
| sample_03.txt | AC | 48 ms | 61396 KiB |