結果
| 問題 | No.3419 Ars magna |
| コンテスト | |
| ユーザー |
a01sa01to
|
| 提出日時 | 2026-01-12 00:18:39 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 339 bytes |
| 記録 | |
| コンパイル時間 | 2,963 ms |
| コンパイル使用メモリ | 333,096 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-01-12 00:18:43 |
| 合計ジャッジ時間 | 3,860 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
using ll = long long;
using ull = unsigned long long;
int main() {
cin.tie(nullptr)->sync_with_stdio(false);
int n;
string s;
cin >> n >> s;
rep(i, n) {
int x;
cin >> x;
cout << s[x - 1];
}
cout << '\n';
return 0;
}
a01sa01to