Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
74833 张皓睿 14能吸多少根烟 C++ Wrong Answer 0 MS 268 KB 211 2024-05-26 09:25:42

Tests(0/10):


Code:

#include<iostream> #include<string> #include<cmath> #include<iomanip> using namespace std; int main(){ int c,s=0,b,n=0; cin>>c; b=c; while(b != 0){ n = b/5; b = n; s += n; } cout<<s; }


Run Info:

------Input------
159 16
------Answer-----
169
------Your output-----
38