結果
| 問題 |
No.415 ぴょん
|
| ユーザー |
kyo1
|
| 提出日時 | 2020-11-20 13:08:38 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 192 bytes |
| コンパイル時間 | 1,873 ms |
| コンパイル使用メモリ | 193,280 KB |
| 最終ジャッジ日時 | 2025-01-16 01:52:01 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 WA * 10 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
int N, D;
cin >> N >> D;
cout << lcm(N, D) / D - 1 << '\n';
return 0;
}
kyo1