結果

問題 No.276 連続する整数の和(1)
ユーザー 👑 KazunKazun
提出日時 2020-09-05 15:02:02
言語 PyPy3
(7.3.8)
結果
AC  
実行時間 83 ms / 1,000 ms
コード長 57 bytes
コンパイル時間 592 ms
使用メモリ 75,848 KB
最終ジャッジ日時 2023-01-05 05:12:15
合計ジャッジ時間 2,450 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 78 ms
75,448 KB
testcase_01 AC 83 ms
75,848 KB
testcase_02 AC 79 ms
75,448 KB
testcase_03 AC 79 ms
75,496 KB
testcase_04 AC 80 ms
75,792 KB
testcase_05 AC 79 ms
75,556 KB
testcase_06 AC 79 ms
75,544 KB
testcase_07 AC 81 ms
75,492 KB
testcase_08 AC 80 ms
75,816 KB
testcase_09 AC 81 ms
75,444 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())

if N%2:
    A=N
else:
    A=N//2
print(A)
0