Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
138976 李鸿文添 14小鱼游泳 C++ Wrong Answer 0 MS 268 KB 475 2025-11-30 17:28:18

Tests(1/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 n,s=0,x; cin>>x>>n; for(int i=1;i<=n;i++){ x++; if(x==8){ x=1; } if(x<=5){ s=s+250; } } cout<<s; return 0; }


Run Info:

------Input------
2 47
------Answer-----
8500
------Your output-----
8250