結果
| 問題 |
No.2184 A○B問題
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2023-01-13 22:00:55 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 233 bytes |
| コンパイル時間 | 609 ms |
| コンパイル使用メモリ | 70,764 KB |
| 最終ジャッジ日時 | 2025-02-10 02:32:11 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 |
ソースコード
#include <iostream>
#include <vector>
using namespace std;
int main(){
vector<int> A(5);for(int i = 0; 5 > i; i++)cin>>A[i];
for(int i = 0; 5 > i; i++){
int x;cin>>x;
cout << A[x-1] << " \n"[i+1 == 5];
}
}