Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
36661 | C++|刘一阳 | 地球人口承载力估计 | C++ | Compile Error | 0 MS | 0 KB | 160 | 2024-01-16 14:49:37 |
#include<bits.stdc++.h> using namespace std; int main() { double x,a,y,b,z; cin>>x>>a>>y>>b; printf("%.2f",(y*b-x*a)/(b-a)); return 0; }