結果

問題 No.1422 Social Distance in Train
ユーザー yuusanlondonyuusanlondon
提出日時 2021-03-12 21:24:41
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 69 ms / 2,000 ms
コード長 59 bytes
コンパイル時間 1,085 ms
コンパイル使用メモリ 86,992 KB
実行使用メモリ 71,444 KB
最終ジャッジ日時 2023-08-04 14:23:49
合計ジャッジ時間 2,088 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,444 KB
testcase_01 AC 66 ms
71,316 KB
testcase_02 AC 65 ms
71,140 KB
testcase_03 AC 69 ms
71,136 KB
testcase_04 AC 66 ms
71,320 KB
testcase_05 AC 66 ms
71,216 KB
testcase_06 AC 61 ms
71,312 KB
testcase_07 AC 64 ms
71,140 KB
testcase_08 AC 63 ms
71,232 KB
testcase_09 AC 63 ms
71,336 KB
testcase_10 AC 64 ms
71,384 KB
testcase_11 AC 64 ms
71,140 KB
testcase_12 AC 63 ms
71,144 KB
testcase_13 AC 65 ms
71,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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