結果
| 問題 | No.560 ふしぎなナップサック |
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 20:49:13 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 25 ms / 2,000 ms |
| + 658µs | |
| コード長 | 202 bytes |
| 記録 | |
| コンパイル時間 | 71 ms |
| コンパイル使用メモリ | 80,980 KB |
| 実行使用メモリ | 54,528 KB |
| 最終ジャッジ日時 | 2026-10-12 17:32:40 |
| 合計ジャッジ時間 | 1,562 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 |
ソースコード
M, N = map(int, input().split())
result = M + N / 3
if isinstance(result, int) or result.is_integer():
print(int(result))
else:
# Format to 12 decimal places
print("{0:.12f}".format(result))
lam6er