mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-23 19:08:47 +00:00
665. 倍数
https://www.acwing.com/problem/content/submission/code_detail/8063727/
This commit is contained in:
parent
c02434fa38
commit
54841219e5
11
AcWing/665/665.cpp
Normal file
11
AcWing/665/665.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int a, b;
|
||||
|
||||
int main() {
|
||||
cin >> a >> b;
|
||||
cout << (a % b == 0 || b % a == 0 ? "Sao Multiplos" : "Nao sao Multiplos") << endl;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user