結果
問題 |
No.2827 Enter User Name to Play
|
ユーザー |
![]() |
提出日時 | 2025-04-19 01:56:27 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 295 bytes |
コンパイル時間 | 692 ms |
コンパイル使用メモリ | 69,856 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-04-19 01:56:29 |
合計ジャッジ時間 | 1,472 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 |
ソースコード
#include<iostream> #include<vector> using namespace std; int main(){ string ans; string s; int n; cin>>n; cin>>s; for(int i=0;i<n;i++){ int num; cin>>num; ans+=s[num-1]; } cout<<ans; return 0; }