图书分发

Dreamin0910 / 2023-08-12 / 原文

此题目来源于LZOI

题目传送门

#include <iostream>
using namespace std;

int main() {
    int m, n;
    cin >> m >> n;

    int booksPerStudent = m / n;
    int remainingBooks = m % n;

    cout << booksPerStudent << " " << remainingBooks << endl;

    return 0;
}