結果
| 問題 | No.415 ぴょん |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-11-16 19:09:19 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 96 ms / 1,000 ms |
| + 996µs | |
| コード長 | 91 bytes |
| 記録 | |
| コンパイル時間 | 334 ms |
| コンパイル使用メモリ | 21,336 KB |
| 実行使用メモリ | 15,916 KB |
| 最終ジャッジ日時 | 2026-09-04 14:57:18 |
| 合計ジャッジ時間 | 5,049 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 27 |
ソースコード
from math import lcm n, d = map(int, input().split()) ans = lcm(n, d) // d - 1 print(ans)