結果

問題 No.661 ハローキティはりんご3個分
ユーザー pofpof
提出日時 2019-05-30 19:40:59
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 32 ms / 2,000 ms
コード長 268 bytes
コンパイル時間 138 ms
コンパイル使用メモリ 11,748 KB
実行使用メモリ 9,884 KB
最終ジャッジ日時 2023-10-17 18:54:23
合計ジャッジ時間 813 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

i = int(input())
n = list()
for j in range(i):
    n.append(int(input()))

for m in n:
    if m % 8 == 0 and m % 10 == 0 :
        print("ikisugi")
    elif m % 8 == 0:
        print("iki")
    elif m % 10 == 0:
        print("sugi")
    else:
        print(int(m/3))
0