Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
129058 李馥甄 11整数的除法 C++ Accepted 1 MS 272 KB 200 2025-08-21 16:36:35

Tests(10/10):


Code:

#include <bits/stdc++.h> using namespace std; int a,b; //a为被除数 b为除数 int main(){ cin>>a>>b; if(a%b==0){ cout<<a/b<<" "<<0; }else{ cout<<a/b<<" "<<a%b; } return 0; }