Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
109425 | I am BM | 逃亡 | C++ | 编译错误 | 0 | 0 MS | 0 KB | 265 | 2023-11-08 14:00:38 |
#include<bits/stdc++.h> using namespace std; double gcd(double x,double y) { if (x==y) return x; if (x>y) return gcd(x-y); if (x<y) return gcd(y-x); } int main() { double v1,v2,s,ac,b,v3,v4; cin>>s>>v1>>v2; v3=v1/gcd(v1,v2); v4=v2/gce(v1,v2); }