結果

問題 No.661 ハローキティはりんご3個分
ユーザー yohei-kuyohei-ku
提出日時 2018-03-28 00:15:57
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 2,000 ms
コード長 296 bytes
コンパイル時間 56 ms
コンパイル使用メモリ 6,660 KB
実行使用メモリ 6,112 KB
最終ジャッジ日時 2023-09-07 19:13:27
合計ジャッジ時間 686 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
6,012 KB
testcase_01 AC 12 ms
6,068 KB
testcase_02 AC 12 ms
6,112 KB
testcase_03 AC 12 ms
5,980 KB
testcase_04 AC 12 ms
6,056 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

i = input()
N = []
for j in range(0,i):
    N.append(input())

for k in range(0,i):
    if N[k]%8 == 0 and N[k]%10 == 0:
        print 'ikisugi'
    elif N[k]%8 == 0:
        print 'iki'
    elif N[k]%10 == 0:
        print 'sugi'
    elif N[k]%3 == 0:
        print N[k]/3
    else:
        pass
0