結果

問題 No.3043 yukicoderへようこそ!
ユーザー はむ吉🐹はむ吉🐹
提出日時 2019-04-01 22:27:25
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 708 bytes
コンパイル時間 108 ms
コンパイル使用メモリ 10,924 KB
実行使用メモリ 7,916 KB
最終ジャッジ日時 2023-08-18 01:37:45
合計ジャッジ時間 826 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    # 9000
    print("Hello World!")
    # 480
    n = int(input())
    res = n * (n + 1) // 2
    print(res)
    # 9001
    a, b = (int(z) for z in input().split())
    s = input()
    print("{} {}".format(a + b, s))
    # 9002
    n1 = int(input())
    for i in range(1, n1 + 1):
        if i % 15 == 0:
            print("FizzBuzz")
        elif i % 3 == 0:
            print("Fizz")
        elif i % 5 == 0:
            print("Buzz")
        else:
            print(i)
    # 9008
    _ = input()
    xs = [int(x) for x in input().split()]
    print(sum(xs))
    # 9009
    n2 = int(input())
    ys = [int(input()) for _ in range(n2)]
    print(sum(ys))


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