mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-23 20:08:47 +00:00
revert: 6755ced87ed7bc1d9999651bcb6bfa4f87b9c288
This commit is contained in:
parent
90c68ba9fa
commit
67b2681e6f
@ -1,10 +0,0 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int a, b;
|
||||
cin >> a >> b;
|
||||
cout << (a / __gcd(a, b) + b / __gcd(a, b) - 1) * __gcd(a, b) << endl;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user