Submission #3260975


Source Code Expand

function main(input) {
    const args = input.split(' ');
    const K = parseInt(args[0], 10);
    console.log(Math.floor((K / 2) * ((K+1) / 2));

}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));

Submission Info

Submission Time
Task A - Pair
User paku
Language JavaScript (node.js v5.12)
Score 0
Code Size 212 Byte
Status RE
Exec Time 202 ms
Memory 20936 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
RE × 4
RE × 10
Set Name Test Cases
Sample s1.txt, s2.txt, s3.txt, s4.txt
All 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, s1.txt, s2.txt, s3.txt, s4.txt
Case Name Status Exec Time Memory
01.txt RE 202 ms 20936 KB
02.txt RE 49 ms 7244 KB
03.txt RE 49 ms 7244 KB
04.txt RE 49 ms 7244 KB
05.txt RE 49 ms 7244 KB
06.txt RE 48 ms 7244 KB
s1.txt RE 49 ms 7244 KB
s2.txt RE 49 ms 7244 KB
s3.txt RE 49 ms 7244 KB
s4.txt RE 49 ms 7244 KB