結果

問題 No.661 ハローキティはりんご3個分
ユーザー hooooyaerthooooyaert
提出日時 2018-07-24 11:16:25
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 133 ms / 2,000 ms
コード長 357 bytes
コンパイル時間 639 ms
コンパイル使用メモリ 10,544 KB
実行使用メモリ 29,532 KB
最終ジャッジ日時 2023-09-04 06:56:07
合計ジャッジ時間 3,642 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 133 ms
29,508 KB
testcase_01 AC 131 ms
29,532 KB
testcase_02 AC 133 ms
29,528 KB
testcase_03 AC 131 ms
29,496 KB
testcase_04 AC 132 ms
29,520 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np
row = input()
N = np.zeros(int(row))
for i in range(int(row)):
    N[i]= input()
    if N[i] % 8 == 0 and N[i] % 10 != 0:
        print('iki')
    elif N[i] % 8 != 0 and N[i] % 10 == 0:
        print('sugi')
    elif N[i] % 8 == 0 and N[i] % 10 == 0:
        print('ikisugi')
    elif N[i] % 3 == 0:
        print(int(N[i]/3))
0