include iostream include string include cstring include algorithm incl

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include <iostream>
#include <string>
#include <cstring>
#include <algorithm>
#include <queue>
#include <ctime>
#include <unordered_map>
#include <map>
#include <set>
using namespace std;
typedef long long ll;
const int inf = 20000 * 10000 + 10;
int a[5001];
set<int> sset;
int main() {
int n = 5000;
int k = 20;
cout << n << ' ' << k << endl;
cout << 1;
for (int i = 2; i <= n; ++i)
cout << ' ' << i;
cout << endl;
cout << k << endl;
for (int i = 0; i < k; ++i)
cout << 20000 * 10000 << endl;
return 0;
}