| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 9260 | 顾郁铭 | 小鱼的航程(改进版) | C++ | Wrong Answer | 25 | 2 MS | 252 KB | 234 | 2020-11-10 20:09:06 |
#include<bits/stdc++.h> using namespace std; int x,n,day,ans; int main(){ cin>>x>>n; for(int i=x;i<x+n;i++){ //判断是否为周末 if(i%7==6 || i%7==0) i++; else day++; } ans=day*250; cout<<ans; return 0; }