結果

問題 No.3004 愛国心
ユーザー kyuridenamidakyuridenamida
提出日時 2014-12-25 22:35:34
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 295 bytes
コンパイル時間 1,253 ms
コンパイル使用メモリ 143,960 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-03 17:45:52
合計ジャッジ時間 1,561 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
/*
3 k
4 i
7 d 
8 e
*/
int main(){
	int n;
	while(cin >> n && n){
		assert( 1 <= n && n <= 26 );
		if( n == 3 ) cout << "k" << endl;
		if( n == 4 ) cout << "i" << endl;
		if( n == 7 ) cout << "d" << endl;
		if( n == 8 ) cout << "e" << endl;
		
	}
}
0