Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
140264 夏梓瑞 [在线测评解答教程] 求和 C++ Wrong Answer 0 MS 276 KB 410 2025-12-13 17:53:27

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { //出生小队在迪奥森林发现了7891 int n, x, b = 0; cin >> n; int a[n]; for (int i = 0; i < n; i++) { cin >> a[i]; } for (int i = 0; i < n; i++) { if (a[i] % 2 == 0) { x = a[i]; while (x > 0) { x = x / 10; b++; } if (b % 2 == 0) { cout << a[i] << endl; } } } return 0; }


Run Info:

------Input------
23 59
------Answer-----
276 1770
------Your output-----
853384448 -2117542174