hack7篇题解
查看原帖
hack7篇题解
478234
huangboning楼主2025/1/23 13:11

数据生成代码:

#include<bits/stdc++.h>
using namespace std;
int n=1e6;
int main()
{
	freopen("tst.in","w",stdout);
	ios::sync_with_stdio(0);
	cout<<n<<" "<<n<<"\n";
	for(int i=1;i<=n;i++){
		cout<<"1 ";
	}
	cout<<"\n";
	for(int i=1;i<n;i++){
		cout<<i-1<<" 1 1 2\n";
	}
	cout<<n-1<<" "<<"2 1";
}

本地已开大栈空间,答案应为2。

Fading的题解-RE

Treaker的题解-RE

UhhhQQQU的题解-RE

yybyyb的题解-RE

fy0123的题解-RE

FlashHu的题解-WA

Broadway的题解-WA

2025/1/23 13:11
加载中...