結果

問題 No.276 連続する整数の和(1)
ユーザー nohakai3nohakai3
提出日時 2022-11-01 20:27:14
言語 PyPy3
(7.3.8)
結果
AC  
実行時間 86 ms / 1,000 ms
コード長 60 bytes
コンパイル時間 802 ms
使用メモリ 75,764 KB
最終ジャッジ日時 2023-02-13 12:34:19
合計ジャッジ時間 2,272 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 86 ms
75,620 KB
testcase_01 AC 86 ms
75,360 KB
testcase_02 AC 84 ms
75,636 KB
testcase_03 AC 85 ms
75,752 KB
testcase_04 AC 85 ms
75,736 KB
testcase_05 AC 84 ms
75,740 KB
testcase_06 AC 85 ms
75,748 KB
testcase_07 AC 85 ms
75,764 KB
testcase_08 AC 85 ms
75,668 KB
testcase_09 AC 85 ms
75,760 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
if n%2==0:
    print(n//2)
else:
    print(n)
0