Untitled

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
205 B
0
Indexable
Never
#include <iostream>
using namespace std;

int main() {
	setlocale(LC_ALL, "Russian");
	int n, m;
	cin >> n >> m;
	float k = float(n) / m;
	if (k - int(k) > 0) {
		k += 1;
		cout << int(k);
	}
}
Leave a Comment