蒟蒻求助,只有两AC
查看原帖
蒟蒻求助,只有两AC
385425
这是个人楼主2020/12/25 21:30
#include<iostream>
using namespace std;
int main(){
   long long x, n, a = 0;
   cin >> x >> n;
   for(int i = 0; i < n; i++){
   	x++;
   	if(x != 6 && x != 7){
   		a = a+250;
   	}
   	else if(x == 7){
   		x == 1;
   	}
   }
   cout << a << endl;
   return 0;
} 

求大佬帮忙看看,谢谢了

2020/12/25 21:30
加载中...