Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
35510 郭澍宇 【J】T1 C++ 通过 100 106 MS 256 KB 247 2024-12-11 20:25:09

Tests(20/20):


#include<bits/stdc++.h> using namespace std; int main(){ int t; cin>>t; while(t--){ int a,b,c,d; char e; scanf("%d%c%d%c%d%c%d",&a,&e,&b,&e,&c,&e,&d); scanf("%c",&e); double k=1.0*(d-b)/(a-c); printf("%.5lf\n",k); } }


测评信息: