Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
96875 | 林嘉乐 | 11整数的除法 | C++ | Presentation Error | 1 MS | 268 KB | 194 | 2024-11-09 17:35:37 |
#include<iostream> #include<iomanip> using namespace std; int main() { int a,b; cin>>a>>b; if(a%b==0){ cout<<a/b<<endl; } else{ cout<<a/b<<" "<<a%b<<endl; } return 0; }