| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 54307 | 杨中琦 | 流量 | C++ | Accepted | 100 | 0 MS | 252 KB | 197 | 2022-07-29 14:29:40 |
#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; }