Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
97861 | 高楷伦 | 11整数的除法 | C++ | Wrong Answer | 1 MS | 272 KB | 232 | 2024-11-16 17:06:51 |
# include<iostream> # include<cstdio> # include<iomanip> using namespace std; int main(){ int a,b; cin>>a>>b; if(a%b==0){ cout<<a/b; return 0; } else{ cout<<a-(a%b)<<" "<<a%b; return 0; } return 0; }
------Input------
86 33
------Answer-----
2 20
------Your output-----
66 20