結果

問題 No.661 ハローキティはりんご3個分
ユーザー c7t1012c7t1012
提出日時 2018-04-07 00:09:38
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 16 ms / 2,000 ms
コード長 251 bytes
コンパイル時間 344 ms
コンパイル使用メモリ 10,572 KB
実行使用メモリ 7,928 KB
最終ジャッジ日時 2023-09-08 18:06:16
合計ジャッジ時間 857 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

i = int(input())

for loop in range(i):
    weight = int(input())
    if weight % 40 == 0:
        print("ikisugi")
    elif weight % 8 == 0:
        print("iki")
    elif weight % 10 == 0:
        print("sugi")
    else:
        print(int(weight/3))
0