結果
| 問題 | No.2827 Enter User Name to Play |
| コンテスト | |
| ユーザー |
河城白露
|
| 提出日時 | 2024-08-02 21:23:24 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 352µs | |
| コード長 | 352 bytes |
| 記録 | |
| コンパイル時間 | 145 ms |
| コンパイル使用メモリ | 49,024 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-08-24 18:55:16 |
| 合計ジャッジ時間 | 1,821 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
//
// Created by HakuroKawashiro on 2024/8/2.
//
#include <cstdio>
#include <cstring>
#include <algorithm>
#define ll long long
using namespace std;
ll n;
char str[100];
int main() {
scanf("%lld",&n);
scanf("%s",str + 1);
for (ll i = 1;i <= n;i++) {
ll x;
scanf("%lld",&x);
printf("%c",str[x]);
}
return 0;
}
河城白露