Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
13165 | 祝易涛 | 《C语言程序设计》江宝钏主编-习题3-6-商和余 | C++ | Accepted | 1 MS | 724 KB | 137 | 2021-05-25 16:57:23 |
#include <iostream> using namespace std; int main() { int n,m,r,s; cin>>n>>m; r=n%m; s=n/m; cout<<s<<" "<<r; return 0; }