Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
87882 | 张湘哲 | 11种树 | C++ | Wrong Answer | 1 MS | 268 KB | 172 | 2024-08-15 19:49:11 |
#include<iostream> using namespace std; int main() { int n,k; cin>>n>>k; int a; a=n%k; int t; t=n/k; if(a>=1) { t+=a/1; } cout<<t; return 0; }
------Input------
1034 99
------Answer-----
12
------Your output-----
54