360把我的代码exe清了qwq
它说有HEUR/QVM20.1.E179.Malware.Gen病毒qwq
不知道原因qwq
好像是if(i>=j)和第二个for中j<=i会起冲突
注释其中一个都行(不要问我为什么这么写qwq)
#include <bits/stdc++.h>
#define int long long
using namespace std;
int qwq[10086]={1,1};
signed main (void)
{
cin.tie(0);
ios::sync_with_stdio(false);
int n, k;
cin >> n >> k;
for(int i=2; i<=n; ++i)
{
for(int j=i; j<=i && j<=k; j++)
{
if(i>=j)
qwq[i] += qwq[i-j] + 1;
qwq[i] %= 100003;
}
}
cout << qwq[n] << "\n";
return 0;
}