結果

問題 No.661 ハローキティはりんご3個分
ユーザー Pump0129Pump0129
提出日時 2018-03-28 21:55:42
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 17 ms / 2,000 ms
コード長 272 bytes
コンパイル時間 126 ms
コンパイル使用メモリ 10,696 KB
実行使用メモリ 7,868 KB
最終ジャッジ日時 2023-09-07 19:32:15
合計ジャッジ時間 694 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

cnt = int(input())

for i in range(cnt):
    num = int(input())
    printStr = ''
    if num % 8 == 0:
        printStr += 'iki'
    if num % 10 == 0:
        printStr += 'sugi'
    if not printStr:
        print(int(num / 3))
    else:
        print(printStr)
0