Submission #54416568
Source Code Expand
Copy
**initialize_sum**push_+0push_+0store **read_and_add_3_times**push_-3label_0**read_a_number**push_+0label_1push_+1read_characterpush_+1retrieve push_+0xasubtract if_0_goto_2push_+1retrieve push_+0x20subtract if_0_goto_2**a_digit_is_read**push_+10multiplypush_+1
**initialize_sum**push_+0 push_+0 store **read_and_add_3_times**push_-3 label_0 **read_a_number**push_+0 label_1 push_+1 read_character push_+1 retrieve push_+0xa subtract if_0_goto_2 push_+1 retrieve push_+0x20 subtract if_0_goto_2 **a_digit_is_read**push_+10 multiply push_+1 retrieve push_+0x30 subtract add goto_1 **done_reading_a_number**label_2 push_+0 retrieve add push_+0 swap store push_+1 add duplicate if_negative_goto_0 **done_read_and_add_3_numbers**discard push_+0 retrieve output_number push_+0x20 output_character **read_and_echo_a_line**label_3 push_+1 read_character push_+1 retrieve duplicate output_character push_+0xa subtract if_0_goto_4 goto_3 label_4 end * *
Submission Info
Submission Time | |
---|---|
Task | PracticeA - Welcome to AtCoder |
User | mikecat |
Language | Whitespace (whitespacers 1.0.0) |
Score | 100 |
Code Size | 962 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 3884 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | 00_rnd_01.txt, 00_rnd_02.txt, 00_rnd_03.txt, 00_rnd_04.txt, 00_rnd_05.txt, 00_sample_1.txt, 00_sample_2.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_rnd_01.txt | AC | 1 ms | 3808 KB |
00_rnd_02.txt | AC | 1 ms | 3700 KB |
00_rnd_03.txt | AC | 1 ms | 3884 KB |
00_rnd_04.txt | AC | 1 ms | 3668 KB |
00_rnd_05.txt | AC | 1 ms | 3788 KB |
00_sample_1.txt | AC | 1 ms | 3872 KB |
00_sample_2.txt | AC | 1 ms | 3792 KB |