Untitled
unknown
c_cpp
2 years ago
227 B
4
Indexable
#include <iostream>
using namespace std;
int main() {
setlocale(LC_ALL, "Russian");
int n, m;
cin >> n >> m;
int count = n / m;
float k = float(n) / m;
if (k - int(k) != 0) {
count++;
cout << count;
}
}Editor is loading...
Leave a Comment