Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
45511 | yuzhengxun | 试卷-2024 | C++ | Wrong Answer | 0 MS | 252 KB | 193 | 2024-04-14 20:07:01 |
#include<bits/stdc++.h> using namespace std; int main() { int n,m,s=0; cin>>n>>m; if(m%n==0){ cout<<m/n; return 0; }else if(m%n==1){ s+=1; } cout<<s; return 0; }