Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- #define MX (1024)
- string S[MX];
- int rqst(){
- //TODO
- }
- int main(void){
- scanf("%d",&N);
- for(int i(0);i<N;++i)
- cin>>S[i];
- int a(rqst());
- if(a==-1)cout<<"OK\n";
- else cout<<S[a]<<'\n';
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment