| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 124368 | 陈梓钒 | 18成绩查找 | C++ | Wrong Answer | 1 MS | 264 KB | 243 | 2025-07-11 11:57:48 |
#include<bits/stdc++.h> using namespace std; int a[105]; int main(){ int n; int s; cin>>n; for(int i=1;i<=n;i++){ cin>>a[i]; } cin>>s; for(int i=1;i<=n;i++){ if(a[i]>100){ a[i] = s; } } cout<<s; return 0; }
------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-----
29