結果

問題 No.773 コンテスト
ユーザー 山本純大
提出日時 2022-01-28 17:19:24
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 341 bytes
コンパイル時間 131 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-12-29 16:20:35
合計ジャッジ時間 1,905 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other AC * 3 WA * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():

    n = list(map(int, input().split()))
    #print(n)

    sample = ["23", "24", "25"]

    count = 0
    for i in range(n[0], n[1] + 1):
        #print(i)
        if str(i) in sample:
            count += 1
            print(3 - count)
        else:
            print(3)  
        #if 




if __name__ == '__main__':
    main()
0