| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 87295 | Kevin | 14小鱼游泳 | C++ | Accepted | 1 MS | 272 KB | 203 | 2024-08-08 14:23:56 |
#include<bits/stdc++.h> using namespace std; int main(){ int x,n,s=0; cin>>x>>n; for(int i=x;i<=x+(n-1);i++){ if(i%7==0||i%7==6) continue; else s+=250; } cout<<s; return 0; }