Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
8854 顾郁铭 小鱼的航程(改进版) C++ Accepted 100 2 MS 248 KB 274 2020-11-06 16:50:27

Tests(4/4):


#include<bits/stdc++.h> using namespace std; int x,m,a,day; long long n,sum; int main(){ cin>>x>>n; for(int i=x;i<x+n;i++){ if(i%7!=6 && i%7!=0) day++; } // cout<<day<<endl; sum=day*250; cout<<sum<<endl; // system("pause"); return 0; }


Judgement Protocol: