結果

問題 No.1986 Yummy
ユーザー 👑 tamatotamato
提出日時 2022-06-24 21:21:08
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 78 ms / 2,000 ms
コード長 201 bytes
コンパイル時間 502 ms
コンパイル使用メモリ 86,924 KB
実行使用メモリ 71,064 KB
最終ジャッジ日時 2023-08-08 11:24:17
合計ジャッジ時間 3,475 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
70,808 KB
testcase_01 AC 76 ms
70,948 KB
testcase_02 AC 76 ms
70,960 KB
testcase_03 AC 77 ms
70,788 KB
testcase_04 AC 75 ms
70,952 KB
testcase_05 AC 77 ms
70,836 KB
testcase_06 AC 77 ms
70,716 KB
testcase_07 AC 76 ms
70,948 KB
testcase_08 AC 74 ms
70,852 KB
testcase_09 AC 75 ms
71,028 KB
testcase_10 AC 78 ms
70,852 KB
testcase_11 AC 77 ms
71,040 KB
testcase_12 AC 76 ms
70,976 KB
testcase_13 AC 76 ms
70,952 KB
testcase_14 AC 75 ms
71,008 KB
testcase_15 AC 75 ms
71,016 KB
testcase_16 AC 73 ms
70,832 KB
testcase_17 AC 75 ms
70,948 KB
testcase_18 AC 75 ms
70,808 KB
testcase_19 AC 75 ms
70,716 KB
testcase_20 AC 76 ms
71,012 KB
testcase_21 AC 76 ms
70,992 KB
testcase_22 AC 77 ms
70,996 KB
testcase_23 AC 77 ms
70,916 KB
testcase_24 AC 76 ms
71,064 KB
testcase_25 AC 76 ms
70,808 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 998244353


def main():
    import sys
    input = sys.stdin.readline

    N = int(input())
    if N & 1:
        print(1)
    else:
        print(N // 2)


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