Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
35509 | 杨耀然 | 【J】T1 | C++ | 解答错误 | 0 | 30 MS | 252 KB | 222 | 2024-12-11 20:24:57 |
#include<bits/stdc++.h> using namespace std; int main() { int t; scanf("%d",&t); while(t--) { int a,b,c,d; scanf("%d%d%d%d",&a,&b,&c,&d); printf("%.3f\n",double((d-b)*1.00000/(a-c))); } return 0; }