結果

問題 No.8043 yukicoderへようこそ!
ユーザー maspy
提出日時 2020-03-22 14:09:39
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 463 bytes
コンパイル時間 99 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-12-24 17:28:44
合計ジャッジ時間 869 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/ python3.8
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines


def yuki9000(stdin):
    print('Hello World!')


def yuki480(stdin):
    N = int(stdin[0])
    print(N * (N + 1) // 2)


def main():
    stdin = readlines()
    n = len(stdin)
    if n == 1:
        S = stdin[0].rstrip()
        if S.isdigit():
            yuki480(stdin)
        else:
            yuki9000(stdin)


main()
0