Submission #9505687


Source Code Expand

Copy
( read s; read n; echo $s | head -c $n | tail -c 1 )

Submission Info

Submission Time
Task A - 添字
User cympfh
Language Bash (GNU bash v4.3.11)
Score 100
Code Size 52 Byte
Status
Exec Time 6 ms
Memory 764 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 0_00.txt, 0_01.txt, 0_02.txt, 0_03.txt
All 100 / 100 0_00.txt, 0_01.txt, 0_02.txt, 0_03.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt
Case Name Status Exec Time Memory
0_00.txt 6 ms 764 KB
0_01.txt 3 ms 740 KB
0_02.txt 3 ms 752 KB
0_03.txt 3 ms 748 KB
1_00.txt 3 ms 748 KB
1_01.txt 3 ms 748 KB
1_02.txt 3 ms 748 KB
1_03.txt 3 ms 748 KB