結果

問題 No.661 ハローキティはりんご3個分
ユーザー k0825k0825
提出日時 2019-04-29 22:47:18
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 13 ms / 2,000 ms
コード長 172 bytes
コンパイル時間 773 ms
コンパイル使用メモリ 10,640 KB
実行使用メモリ 7,824 KB
最終ジャッジ日時 2023-08-26 20:24:59
合計ジャッジ時間 835 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

i=int(input())
n=[int(input()) for _ in '1'*i]
for j in n:
	ya=0;ju=0
	if not j%8: ya=1
	if not j%10: ju=1
	if ya or ju: print('iki'*ya,'sugi'*ju,sep='')
	else: print(j//3)
0