mirror of
https://github.com/wczffl-503/OI-Codes.git
synced 2025-05-11 00:30:27 +08:00
16 lines
180 B
C++
16 lines
180 B
C++
#include <bits/stdc++.h>
|
|
using namespace std;
|
|
int main(){
|
|
int a;
|
|
int b;
|
|
int c;
|
|
cin >>a>>b>>c;
|
|
if(c%b>0){
|
|
cout <<a-(c/b)-1;
|
|
}
|
|
if(c%b==0){
|
|
cout <<a-(c/b);
|
|
}
|
|
return 0;
|
|
}
|