結果

問題 No.661 ハローキティはりんご3個分
ユーザー Nisshy_24Nisshy_24
提出日時 2018-04-04 01:25:01
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 299 bytes
コンパイル時間 81 ms
コンパイル使用メモリ 10,728 KB
実行使用メモリ 7,980 KB
最終ジャッジ日時 2023-09-08 15:36:00
合計ジャッジ時間 653 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

n = int(input())
outs = []

for count in range(n):
	apple = int(input())
	if (apple % 8 == 0) and (apple % 10 == 0):
		outs.append("ikisugi")
	elif apple % 10 == 0:
		outs.append("sugi")
	elif apple % 8 == 0:
		outs.append("iki")
	else:
		a = apple / 3
		outs.append(a)

for out in outs:
	print(out)
0