Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
77517 sh25_shengmy 带余除法 C++ 通过 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; }


测评信息: