結果
問題 |
No.2827 Enter User Name to Play
|
ユーザー |
![]() |
提出日時 | 2025-04-17 18:41:10 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 327 bytes |
コンパイル時間 | 726 ms |
コンパイル使用メモリ | 66,528 KB |
実行使用メモリ | 7,848 KB |
最終ジャッジ日時 | 2025-04-17 18:41:12 |
合計ジャッジ時間 | 1,759 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 22 |
ソースコード
#include <iostream> using namespace std; int main() { int n; cin>>n; cout<<n; string s1; cin>>s1; cout<<s1; int arr[n]; for(int i=0;i<n;i++){ cin>>arr[i]; } string s2; for(int i=0;i<n;i++){ s2=s1[arr[i]-1]; } cout<<s2; return 0; }