Submission #3415238
Source Code Expand
S = str(input()) N = int(input()) l = len(S) first = (N - 1) // l second = (N - 1) % l print('{}{}'.format(S[first], S[second]))
Submission Info
Submission Time | |
---|---|
Task | A - 25個の文字列 |
User | emonosuke |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 135 Byte |
Status | CE |
Compile Error
./Main.cpp:7:7: warning: multi-character character constant [-Wmultichar] print('{}{}'.format(S[first], S[second])) ^ ./Main.cpp:1:1: error: ‘S’ does not name a type S = str(input()) ^