結果
| 問題 | No.2426 Select Plus or Minus |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2023-08-18 21:14:01 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 186 bytes |
| 記録 | |
| コンパイル時間 | 1,001 ms |
| コンパイル使用メモリ | 80,640 KB |
| 実行使用メモリ | 57,272 KB |
| 最終ジャッジ日時 | 2026-10-01 06:46:02 |
| 合計ジャッジ時間 | 7,563 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 41 |
ソースコード
N = int(input())
ops = ""
while N > 1:
if N % 2 == 0:
ops += "/"
N //= 2
else:
ops += "+"
N = 3 * N + 1
print(N)
print(len(ops))
print(ops)