萌新求助:为什么我怎么改都是0分
#include <bits/stdc++.h>
using namespace std;
int main()
{
long long x, n;
cin >> x >> n;
long long swim = 0;
for(int i = 1; i <= 7; i++)
{
if(x == i)
{
for(int i = 1; i <= n; i++)
{
if(x <= 5)
{
swim += 250;
x++;
}
if(x == 7)
{
swim += 0;
x == 1;
}
}
cout << swim << endl;
return 0;
}
}
return 0;
}
求助各位大佬