| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 83004 | sh25_linzx | 不与最大数相同的数字之和 | C++ | Accepted | 0 MS | 252 KB | 250 | 2026-01-18 20:41:54 |
#include <bits/stdc++.h> using namespace std; int main() { int n; cin>>n; int s[n]; int shq=0; for(int i=0;i<n;++i){ cin>>s[i]; shq+=s[i]; } sort(s,s+n); cout<<shq-s[n-1]; return 0; }