結果

問題 No.1422 Social Distance in Train
ユーザー toyuzukotoyuzuko
提出日時 2021-04-17 19:30:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 65 ms / 2,000 ms
コード長 69 bytes
コンパイル時間 1,318 ms
コンパイル使用メモリ 86,216 KB
実行使用メモリ 71,080 KB
最終ジャッジ日時 2023-09-17 04:57:31
合計ジャッジ時間 3,391 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
71,040 KB
testcase_01 AC 63 ms
71,072 KB
testcase_02 AC 60 ms
70,940 KB
testcase_03 AC 65 ms
71,012 KB
testcase_04 AC 63 ms
70,952 KB
testcase_05 AC 62 ms
70,788 KB
testcase_06 AC 63 ms
70,720 KB
testcase_07 AC 61 ms
71,080 KB
testcase_08 AC 60 ms
71,032 KB
testcase_09 AC 63 ms
71,028 KB
testcase_10 AC 61 ms
70,648 KB
testcase_11 AC 63 ms
70,948 KB
testcase_12 AC 60 ms
71,080 KB
testcase_13 AC 64 ms
71,028 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

if N & 1:
    print(1)

else:
    print(N // 2 + 1)
0