| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 54282 | 王籽易 | 流量 | C++ | Accepted | 100 | 0 MS | 248 KB | 190 | 2022-07-29 14:17:58 |
#include <bits/stdc++.h> using namespace std; int x,n,N[110],sum=0; int main(){ cin>>x>>n; for(int i=1;i<=n;i++){ int t; cin>>t; sum+=t; } cout<<x*n-sum+x; return 0; }