此题目来源于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; }
标签:std,分发,题目,int,main,图书 From: https://www.cnblogs.com/Dreamin0910/p/17625318.html