Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
95074 汤弘毅 07苹果和虫子 C++ Wrong Answer 1 MS 276 KB 223 2024-10-26 17:40:18

Tests(0/10):


Code:

#include <iostream> using namespace std; int main(){ float n,t,s; cin>>n>>t>>s; int x; x = s/t; float y; y = s/t; if(x==y){ x = x+1; } if(x>n){ n = 0; } else{ n = n-x; } cout<<x; }


Run Info:

------Input------
389 1 24
------Answer-----
365
------Your output-----
25