結果
| 問題 | No.1422 Social Distance in Train |
| コンテスト | |
| ユーザー |
H20
|
| 提出日時 | 2021-03-12 21:35:50 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 86 bytes |
| 記録 | |
| コンパイル時間 | 218 ms |
| コンパイル使用メモリ | 82,272 KB |
| 実行使用メモリ | 53,416 KB |
| 最終ジャッジ日時 | 2024-10-14 11:47:55 |
| 合計ジャッジ時間 | 1,389 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | AC * 1 WA * 11 |
ソースコード
N=int(input())
if N%2==0:
print(1)
elif N==2:
print(2)
else:
print(N//2+1)
H20