結果
| 問題 |
No.1992 Tendon Walk
|
| コンテスト | |
| ユーザー |
MasKoaTS
|
| 提出日時 | 2024-12-01 13:06:33 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 2,000 ms |
| コード長 | 182 bytes |
| コンパイル時間 | 283 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2024-12-01 13:06:34 |
| 合計ジャッジ時間 | 1,402 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
import sys
input = sys.stdin.readline
x = int(input())
if(x == 2):
print(2)
elif(x % 2 == 0):
print(4 + 10 * (x // 2 - 2))
else:
print(5 + 10 * ((x - 1) // 2 - 1))
MasKoaTS