結果

問題 No.661 ハローキティはりんご3個分
ユーザー atusi77murataatusi77murata
提出日時 2018-03-10 17:06:13
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 15 ms / 2,000 ms
コード長 281 bytes
コンパイル時間 133 ms
コンパイル使用メモリ 10,648 KB
実行使用メモリ 7,860 KB
最終ジャッジ日時 2023-08-04 17:38:32
合計ジャッジ時間 649 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

# coding: utf-8
# Your code here!
n = int(input())
for i in range(n):
    num = int(input())
    if num % 8 == 0 and num % 10 == 0:
        print('ikisugi')
    elif num % 8 == 0:
        print('iki')
    elif num % 10 == 0:
        print('sugi')
    else:
        print(num // 3)
0