Submission #2221054
Source Code Expand
function main(input) { console.log(input.split('').reduce((p, c) => p + parseInt(c), 0)); } main(require('fs').readFileSync('/dev/stdin', 'utf8'));
Submission Info
Submission Time | |
---|---|
Task | A - Placing Marbles |
User | mochi8k |
Language | JavaScript (node.js v5.12) |
Score | 0 |
Code Size | 158 Byte |
Status | WA |
Exec Time | 1270 ms |
Memory | 21192 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 00_example_01.txt, 00_example_02.txt |
All | 00_example_01.txt, 00_example_02.txt, 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_example_01.txt | WA | 1270 ms | 21192 KB |
00_example_02.txt | WA | 53 ms | 7372 KB |
01.txt | WA | 53 ms | 7372 KB |
02.txt | WA | 52 ms | 7372 KB |
03.txt | WA | 53 ms | 7372 KB |
04.txt | WA | 53 ms | 7372 KB |
05.txt | WA | 53 ms | 7372 KB |
06.txt | WA | 53 ms | 7372 KB |