結果

問題 No.661 ハローキティはりんご3個分
ユーザー yuuki1036yuuki1036
提出日時 2018-11-08 11:37:19
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 16 ms / 2,000 ms
コード長 246 bytes
コンパイル時間 143 ms
コンパイル使用メモリ 10,656 KB
実行使用メモリ 7,944 KB
最終ジャッジ日時 2023-08-13 04:18:18
合計ジャッジ時間 930 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

N = int(input())
log = [int(input()) for i in range(N)]

for v in log:
    if v % 8 == 0 and v % 10 == 0:
        print('ikisugi')
    elif v % 8 == 0:
        print('iki')
    elif v % 10 == 0:
        print('sugi')
    else:
        print(v//3)
0