Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
93685 张曦 18成绩查找 C++ Wrong Answer 1 MS 272 KB 296 2024-10-18 23:05:55

Tests(0/10):


Code:

#include <bits/stdc++.h> using namespace std; int main() { int L; cin >> L; int a[L-1]; for(int j = 0;j < L;j++) cin>>a[j]; int g; cin>>g; for(int i = 0;i < L;i++) if(a[i]>100) cout<<g; else cout<<a[i]<<' '; return 0; }


Run Info:

------Input------
20 70 90 15 79 79 4 50 49 18 125 31 22 19 39 8 37 17 8 62 14 29
------Answer-----
70 90 15 79 79 4 50 49 18 29 31 22 19 39 8 37 17 8 62 14
------Your output-----
70 90 15 79 79 4 50 49 18 2931 22 19 39 8 37 17 8 62 14