| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 77402 | 刘宸溪 | 18成绩查找 | C++ | Wrong Answer | 0 MS | 268 KB | 244 | 2024-06-09 09:51:41 |
#include<iostream> #include<iomanip> using namespace std; int main(){ int a[101] = {}; int n; for(int i=1;i<=n;i++){ cin>>a[i]; } int m; cin>>m; for(int i=1;i<=n;i++){ if(a[i] > 100){ a[i] = m; } cout<<a[i]<<" "; } }
------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-----