結果
問題 |
No.8004 愛国心
|
ユーザー |
![]() |
提出日時 | 2020-02-08 04:04:05 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 204 bytes |
コンパイル時間 | 481 ms |
コンパイル使用メモリ | 64,752 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-25 08:39:35 |
合計ジャッジ時間 | 913 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 5 |
ソースコード
#include <iostream> using namespace std; int main(void) { string s = "yukicoder"; int n = 1; while (n != 0) { cin >> n; if (n != 0) { cout << s[n - 1] << endl; } } cout << endl; return 0; }