Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
96837 | 杜春雨 | 11整数的除法 | C++ | Wrong Answer | 1 MS | 272 KB | 217 | 2024-11-09 16:47:16 |
#include<bits/stdc++.h> using namespace std; int main() { int a,b,c,d; cin>>a>>b; c=a/b; d=a%b; if(a%b==0){ cout<<c<<endl; } else if(a%b!=0){ cout<<c<<" "<<d; } return 0; }
------Input------
99 33
------Answer-----
3 0
------Your output-----
3