結果
問題 |
No.560 ふしぎなナップサック
|
ユーザー |
![]() |
提出日時 | 2025-03-20 20:49:13 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 38 ms / 2,000 ms |
コード長 | 202 bytes |
コンパイル時間 | 257 ms |
コンパイル使用メモリ | 82,116 KB |
実行使用メモリ | 53,552 KB |
最終ジャッジ日時 | 2025-03-20 20:49:23 |
合計ジャッジ時間 | 1,546 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
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))