Submission #3571240
Source Code Expand
#include<bits/stdc++.h> using namespace std; int main(){ string s; cin >> s; int a; cin >> a; cout << s[a%s.length()] << endl; return0; }
Submission Info
Submission Time | |
---|---|
Task | B - とても長い文字列 |
User | Yukly |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 172 Byte |
Status | CE |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:10:5: error: ‘return0’ was not declared in this scope return0; ^