-
Notifications
You must be signed in to change notification settings - Fork 0
/
judger.cpp
55 lines (49 loc) · 1.26 KB
/
judger.cpp
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#include <iostream>
#include <bits/stdc++.h>
#define ll long long
#define int ll
#define INF 1000000000000000000
#define forn(i, n) for(int i = 0; i < n; i++)
#define fornn(i, n) for(int i = 1; i <= n; i++)
#define iter(i) i.begin(),i.end()
#define pb push_back
#define endl "\n"
#define vi vector<int>
#define p(x) array<int, x>
#define out(x) cout<<(x)<<endl
using namespace std;
int solve1(int vn, vi vinput){
int ans = 0;
return ans;
}
int solve2(int vn, vi vinput){
int ans = 0;
return ans;
}
int32_t main(){
std::ios_base::sync_with_stdio(false);
cin.tie(NULL);
int ans1 = 0, ans2 = 0, n1;
// Write limits to below
int limitn = 1.5 * 10e5, limita = (1 << 30);
//int limitn = 4, limita = (1 << 2);
vi input1;
srand(time(0));
while(ans1 == ans2){
n1 = rand() % limitn+1;
input1 = vi(n1, 0);
forn(i, n1){
input1[i] = (rand() % limita);
}
ans1 = solve1(n1, input1);
ans2 = solve2(n1, input1);
}
out("Wrong in case : ");
cout << "N is : " << n1 << endl;
cout << "Input is:" << endl;
for(auto x: input1) cout << x << " ";
cout << endl;
cout << "Judge Output: " << ans2 << endl;
cout << "User Output: " << ans1 << endl;
return 0;
}