mirror of
https://github.com/wczffl-503/OI-Codes.git
synced 2025-05-11 00:30:27 +08:00
20 lines
329 B
C++
20 lines
329 B
C++
#include <iostream>
|
|
#include <iomanip>
|
|
#include <cstring>
|
|
#include <cstdio>
|
|
#include <ctime>
|
|
#include <cmath>
|
|
using namespace std;
|
|
int main(){
|
|
int a,b;
|
|
cin >>a>>b;
|
|
if(b%a==0){
|
|
cout <<"每班"<<b/a<<"个学生。"<<endl;
|
|
}
|
|
else{
|
|
cout <<"每班"<<b/a<<"个学生。"<<endl;
|
|
cout <<"还有"<<b-b/a*a<<"个学生没分班。";
|
|
}
|
|
return 0;
|
|
}
|