| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 56102 | 老师 | 流量 | C++ | Accepted | 100 | 0 MS | 252 KB | 159 | 2022-08-01 14:51:00 |
#include<bits/stdc++.h> using namespace std; int n,x,ans,p; int main(){ cin>>x>>n; while(n--){ cin>>p; ans+=x-p; } cout<<ans+x; return 0; }