結果

問題 No.661 ハローキティはりんご3個分
ユーザー RyutoRyuto
提出日時 2018-03-31 14:33:21
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 72 ms / 2,000 ms
コード長 289 bytes
コンパイル時間 392 ms
コンパイル使用メモリ 87,080 KB
実行使用メモリ 71,272 KB
最終ジャッジ日時 2023-09-08 08:15:11
合計ジャッジ時間 1,305 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,272 KB
testcase_01 AC 71 ms
71,268 KB
testcase_02 AC 72 ms
71,044 KB
testcase_03 AC 72 ms
71,260 KB
testcase_04 AC 70 ms
71,172 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python

n = int(input())
inval = []
for i in range(n):
    inval.append(int(input().strip()))
for n in inval:
    ans = str()
    if n % 8 == 0:
        ans = ans + 'iki'
    if n % 10 == 0:
        ans = ans + 'sugi'
    if len(ans) == 0:
        ans = n//3
    print(ans)
0