Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
71032 sh25_zhoumy 与指定数字相同的数的个数 C++ 解答错误 0 MS 240 KB 315 2025-10-24 14:26:32

Tests(0/1):


#include <iostream> using namespace std; int main() { int N, m; cin >> N >> m; int count = 0; for (int i = 0; i < N; i++) { int num; if (num == m) { count++; } } cout << count << endl; return 0; }


测评信息: