| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 8298 | 张志鹏 | 小鱼的航程(改进版) | C++ | Accepted | 100 | 2 MS | 248 KB | 203 | 2020-10-31 19:13:23 |
#include<bits/stdc++.h> using namespace std; int main(){ int x,n,sum=0; cin>>x>>n; if(x==6) x=7; for(int i=x;i<=x+n-1;i++){ if(!(i%7==0||i%7==1)) sum+=250; } cout<<sum; return 0; }