delete pics to save space
This commit is contained in:
10
history_source/信息学奥赛一本通/1.1.5.cpp
Normal file
10
history_source/信息学奥赛一本通/1.1.5.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include<iostream>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
int x,a,y,b;
|
||||
cin>>x>>a>>y>>b;
|
||||
int d=(b*y-x*a)/(b-a);
|
||||
cout<<d<<endl;
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user