Submission #400365


Source Code Expand

Copy
print sum(map(int, str(input())))

Submission Info

Submission Time
Task A - 加算王
User mugenen
Language Python (2.7.3)
Score 100
Code Size 33 Byte
Status
Exec Time 60 ms
Memory 3388 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 subtask0-sample01.txt, subtask0-sample02.txt, subtask0-sample03.txt
All 100 / 100 subtask0-sample01.txt, subtask0-sample02.txt, subtask0-sample03.txt, subtask1-01.txt, subtask1-02.txt, subtask1-03.txt, subtask1-04.txt, subtask1-05.txt, subtask1-06.txt, subtask1-07.txt, subtask1-08.txt, subtask1-09.txt, subtask1-10.txt, subtask1-11.txt, subtask1-12.txt
Case Name Status Exec Time Memory
subtask0-sample01.txt 59 ms 3380 KB
subtask0-sample02.txt 55 ms 3308 KB
subtask0-sample03.txt 57 ms 3380 KB
subtask1-01.txt 58 ms 3384 KB
subtask1-02.txt 57 ms 3388 KB
subtask1-03.txt 57 ms 3384 KB
subtask1-04.txt 59 ms 3380 KB
subtask1-05.txt 57 ms 3388 KB
subtask1-06.txt 58 ms 3384 KB
subtask1-07.txt 58 ms 3384 KB
subtask1-08.txt 58 ms 3388 KB
subtask1-09.txt 58 ms 3384 KB
subtask1-10.txt 60 ms 3384 KB
subtask1-11.txt 58 ms 3384 KB
subtask1-12.txt 57 ms 3380 KB