結果

問題 No.8004 愛国心
ユーザー chocorusk
提出日時 2018-07-14 02:15:40
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 433 bytes
コンパイル時間 580 ms
コンパイル使用メモリ 73,304 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-09 05:54:33
合計ジャッジ時間 1,091 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <cstdio>
#include <cstring>
#include <iostream>
#include <string>
#include <cmath>
#include <bitset>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <algorithm>
using namespace std;
typedef long long int ll;
typedef pair<int, int> P;
int main()
{
    string s="yukicoder";
	while(1){
	    int n;
	    cin>>n;
	    if(n==0) return 0;
	    n--;
	    cout<<s[n]<<endl;
	}
	return 0;
}
0