Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
1935 | 孙浚轩 | 11整数的除法 | C++ | Wrong Answer | 0 MS | 268 KB | 235 | 2023-12-02 17:11:03 |
#include<iostream> #include<cstdio> using namespace std; int main() { long long a,b; cin>>a>>b; if(a%b==0) cout<<a/b; else{ printf("%.ld",a/b); cout<<" "<<a%b; } return 0; }
------Input------
119 1
------Answer-----
119 0
------Your output-----
119