Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
77517 sh25_shengmy 带余除法 C++ Accepted 0 MS 244 KB 295 2025-12-26 14:21:33

Tests(1/1):


#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, d; cin >> a >> b; if (b != 0) { c = a / b; d = a % b; cout << c << " " << d << endl; } else { cout << "b 不能为零" << endl; } return 0; }


Judgement Protocol: