Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
1565 吴奕希 18成绩查找 C++ Accepted 0 MS 264 KB 345 2023-10-21 23:14:06

Tests(10/10):


Code:

# include<iostream> using namespace std; int main() { int n, m; cin>>n; int lst[n]; for(int i = 0; i < n; i++) { cin>>lst[i]; if(lst[i]>100) { m = i; } } cin>>lst[m]; for(int i = 0; i < n; i++) { cout<<lst[i]<<" "; } return 0; }