Submission #2803472

Source Code Expand

Copy
import sys
s=raw_input()
w=int(raw_input())
L=len(s)
i=0
while i<L:
  sys.stdout.write(s[i])
  i += w
sys.stdout.write('\n')

Submission Info

Submission Time
Task B - Acrostic
User naoya_t
Language Python2 (2.7.6)
Score 200
Code Size 134 Byte
Status
Exec Time 10 ms
Memory 2568 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sampleId.txt, sampleUdon.txt, sampleabc.txt
All 200 / 200 a7.txt, a8.txt, a9.txt, sampleId.txt, sampleUdon.txt, sampleabc.txt, test_0.txt, test_1.txt, test_2.txt, test_3.txt
Case Name Status Exec Time Memory
a7.txt 10 ms 2568 KB
a8.txt 10 ms 2568 KB
a9.txt 10 ms 2568 KB
sampleId.txt 10 ms 2568 KB
sampleUdon.txt 10 ms 2568 KB
sampleabc.txt 10 ms 2568 KB
test_0.txt 10 ms 2568 KB
test_1.txt 10 ms 2568 KB
test_2.txt 10 ms 2568 KB
test_3.txt 10 ms 2568 KB