Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
92669 sh25_shenpy 自由落体 C++ 通过 1 MS 260 KB 292 2026-07-17 12:32:15

Tests(5/5):


#include<bits/stdc++.h> using namespace std; int n; double h,s1,v,l,k; int main() { cin>>h>>s1>>v>>l>>k>>n; double t_max=sqrt(h/5); double t_min=sqrt((h-k)/5); int i_b=int(s1-t_min*v+l),i_e=int(s1-t_max*v); i_b=min(i_b,n);i_e=max(i_e,0); cout<<i_b-i_e; }


测评信息: