| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 55894 | 朱宸瑜 | 流量 | C++ | Wrong Answer | 0 | 0 MS | 252 KB | 223 | 2022-07-31 19:14:43 |
#include<iostream> using namespace std; long long ans,x,n,p; int main(){ cin>>x>>n; for(int i=0;i<n;i++){ ans+=x; cin>>p; if(ans-p>=0) ans-=p; else cerr<<"Error!"; } cout<<ans+10; return 0; }