結果

問題 No.661 ハローキティはりんご3個分
コンテスト
ユーザー McGregorsh
提出日時 2023-04-04 22:10:36
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 24 ms / 2,000 ms
コード長 317 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 130 ms
コンパイル使用メモリ 84,956 KB
実行使用メモリ 52,008 KB
最終ジャッジ日時 2026-04-17 13:42:30
合計ジャッジ時間 899 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

N = int(input())
for i in range(N):
    s = int(input())
    if s % 8 == 0 and s % 10 == 0:
        print('ikisugi')
        continue
    if s % 8 == 0:
        print('iki')
        continue
    if s % 10 == 0:
        print('sugi')
        continue
    if s % 3 == 0:
        print(s // 3)
        continue
    
    
0