Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
102012 | 魏宏搏 | 11整数的除法 | C++ | Wrong Answer | 1 MS | 268 KB | 280 | 2024-12-21 11:11:08 |
#include<iostream> #include<cmath> using namespace std; int main(){ int a,b,s,y; cin>>a>>b; s=a/b; y=a%b; if(a%b==0.0){ cout<<a<<" "<<b; return 0; } else{ cout<<s<<" "<<y; return 0; } return 0; }
------Input------
99 33
------Answer-----
3 0
------Your output-----
99 33