When I hack other's code, the verdict is "Unexpected verdict"

Revision en1, by jackylova_fan_fan_fan, 2024-11-16 09:53:20

In problem 2028F - Alice's Adventures in Addition, when I hack other's code, the return verdict is "Unexpected verdict", can someone tells me why, thanks.

@applepi216

\includegraphics{/predownloaded/6d/f8/6df881c8fc04811d3a953ec03c5090b4dfe1b5bd.png}

And this is my generator

#include<bits/stdc++.h>
using namespace std;
mt19937 rnd(233);
main()
{
	int t=1,n=2e5,m=1e4;
	cout<<t<<endl;
	cout<<n<<' '<<m<<endl;
	for(int i=1;i<=n;i++)
	{
		if(i==1||i==2)cout<<1;
		else if(i==n)cout<<int(1e4);
		else
		{
			if(rnd()%1000==0)cout<<0;
			else cout<<2;
		}
		cout<<" \n"[i==n];
	}
}

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English jackylova_fan_fan_fan 2024-11-16 09:55:34 0 (published)
en3 English jackylova_fan_fan_fan 2024-11-16 09:55:14 95
en2 English jackylova_fan_fan_fan 2024-11-16 09:54:46 113
en1 English jackylova_fan_fan_fan 2024-11-16 09:53:20 675 Initial revision (saved to drafts)