0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-08 12:58:48 +00:00

3568. 整数除法(求商)

https://xjoi.net/detail/1162327
This commit is contained in:
Baoshuo Ren 2021-11-11 10:19:06 +08:00 committed by Baoshuo Ren
parent fa7f8be482
commit c83eeea413
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

View File

@ -0,0 +1,10 @@
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << (int)floor(1.0 * a / b) << endl;
return 0;
}