結果

問題 No.3004 愛国心
ユーザー trineutrontrineutron
提出日時 2019-12-10 04:57:02
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
RE  
実行時間 -
コード長 209 bytes
コンパイル時間 1,514 ms
コンパイル使用メモリ 164,676 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-05 20:45:22
合計ジャッジ時間 3,021 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
    const string s = "yukicoder";
    for (;;) {
        int n;
        cin >> n;
        if (n == 0) break;
        cout << s.at(n) << endl;
    }
}
0