結果

問題 No.661 ハローキティはりんご3個分
ユーザー 譁 ュ怜喧縺æ–‡å—åŒ譁 ュ怜喧縺æ–‡å—åŒ
提出日時 2020-08-17 21:06:06
言語 C++14
(gcc 13.2.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 354 bytes
コンパイル時間 570 ms
コンパイル使用メモリ 64,808 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-04-19 19:06:54
合計ジャッジ時間 983 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
	int n;
	cin >> n;
	int N[n];
	for(int i=0;i<n;i++){
		cin >> N[i];
		cout<<endl;
	}
	for(int i=0;i<n;i++){
		if(N[i]%8==0 && N[i]%10==0) cout<<"ikisugi"<<endl;
		else if(N[i]%10==0) cout<<"sugi"<<endl;
		else if(N[i]%8==0) cout<<"iki"<<endl;
		else cout<<N[i]/3<<endl;
		cout<<endl;
	}	

	return 0;
}
0