| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 54303 | 邢逸轩 | 流量 | C++ | Accepted | 100 | 0 MS | 248 KB | 170 | 2022-07-29 14:27:56 |
#include<bits/stdc++.h> using namespace std; int n,x,ans,p; int main(){ cin>>x>>n; for(int i=1;i<=n;i++){ cin>>p; ans+=x-p; } cout<<ans+x; return 0; }