Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
8154 | 余立涵 | 11整数的除法 | C++ | Wrong Answer | 0 MS | 260 KB | 230 | 2025-06-14 20:00:55 |
#include<bits/stdc++.h> using namespace std; int main(){ int x,y,z; cin>>x>>y; if(x%y==0){ cout<<x/y<<endl; return 0; } cout<<x/y<<" "; z=x%y; cout<<z<<endl; return 0; }
------Input------
119 1
------Answer-----
119 0
------Your output-----
119