| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 57150 | 张承志 | 流量 | C++ | Accepted | 100 | 0 MS | 248 KB | 197 | 2022-08-03 21:19:38 |
#include<bits/stdc++.h> using namespace std; int main(){ int x,n,k,ans=0; cin>>x; cin>>n; for(int i=1;i<=n;i++){ ans+=x; cin>>k; ans-=k; } ans+=x; cout<<ans; return 0; }