結果

問題 No.1422 Social Distance in Train
ユーザー raven7959raven7959
提出日時 2021-08-13 15:47:12
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 62 bytes
コンパイル時間 420 ms
コンパイル使用メモリ 82,160 KB
実行使用メモリ 53,892 KB
最終ジャッジ日時 2024-04-14 09:05:04
合計ジャッジ時間 1,797 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
52,840 KB
testcase_01 AC 40 ms
52,072 KB
testcase_02 AC 36 ms
53,428 KB
testcase_03 AC 36 ms
52,304 KB
testcase_04 AC 37 ms
51,876 KB
testcase_05 AC 39 ms
52,268 KB
testcase_06 AC 36 ms
52,824 KB
testcase_07 AC 36 ms
51,744 KB
testcase_08 AC 36 ms
53,892 KB
testcase_09 AC 36 ms
53,292 KB
testcase_10 AC 36 ms
52,356 KB
testcase_11 AC 36 ms
52,736 KB
testcase_12 AC 36 ms
52,572 KB
testcase_13 AC 38 ms
52,788 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
if N%2==1:
    print(1)
else:
    print(N//2+1)
0