Files
OI-source/history_source/ccf 入门篇/U3/3.1.2(2).cpp
2023-08-03 09:22:52 +08:00

15 lines
170 B
C++

#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int a,b,c=0,d=0;
cout<<"a,b=";
cin>>a>>b;
if(a>b)
c=a/b;
d=a%b;
cout<<c+d;
while(true);
}