結果

問題 No.1422 Social Distance in Train
ユーザー googol_S0googol_S0
提出日時 2021-03-12 21:53:32
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 69 ms / 2,000 ms
コード長 55 bytes
コンパイル時間 299 ms
コンパイル使用メモリ 86,844 KB
実行使用メモリ 71,580 KB
最終ジャッジ日時 2023-08-04 15:09:30
合計ジャッジ時間 2,040 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,444 KB
testcase_01 AC 68 ms
71,228 KB
testcase_02 AC 67 ms
71,324 KB
testcase_03 AC 65 ms
71,580 KB
testcase_04 AC 69 ms
71,352 KB
testcase_05 AC 62 ms
71,304 KB
testcase_06 AC 65 ms
71,232 KB
testcase_07 AC 64 ms
71,244 KB
testcase_08 AC 65 ms
71,376 KB
testcase_09 AC 64 ms
71,324 KB
testcase_10 AC 65 ms
71,240 KB
testcase_11 AC 65 ms
71,120 KB
testcase_12 AC 63 ms
71,304 KB
testcase_13 AC 65 ms
71,316 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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