Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
77262 sh25_shenpy 202503GESP一级四舍五入 C++ 通过 0 MS 256 KB 242 2025-12-21 20:18:59

Tests(1/1):


#include <bits/stdc++.h> using namespace std; int main( ) { int n,x; cin>>n; for(int i=1;i<=n;++i){ cin>>x; if(x%10<=4) cout<<10*(x/10)<<endl; else cout<<10*(x/10+1)<<endl; } return 0; }


测评信息: