Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
119943 万隽宇 14小鱼游泳 C++ Accepted 1 MS 272 KB 523 2025-05-22 19:20:20

Tests(10/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a,n,b=0; cin>>a>>n; for(int i=0;i<n;i++){ if(a==6){ a++; continue; } if(a==7){ a=1; continue; } a++; b+=250; } cout<<b; return 0; }