結果

問題 No.661 ハローキティはりんご3個分
ユーザー MayimgMayimg
提出日時 2018-12-27 07:46:19
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 374 bytes
コンパイル時間 1,302 ms
コンパイル使用メモリ 162,860 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-07-24 19:34:32
合計ジャッジ時間 1,846 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

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

int main(){
	ios::sync_with_stdio(false);
	cin.tie(0);  
	int n;
	cin >> n;
	while(n--) {
		int a;
		cin >> a;
		if(a % 80 == 0) {
			puts("ikisugi");
		}
		else if(a % 8 == 0) {
			puts("iki");
		}
		else if(a % 10 == 0) {
			puts("sugi");
		}
		else {
			cout << a / 3 << endl;
		}
	}
	return 0;	
}
0