-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathC1282.cpp
More file actions
42 lines (29 loc) · 682 Bytes
/
Copy pathC1282.cpp
File metadata and controls
42 lines (29 loc) · 682 Bytes
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
#include<bits/stdc++.h>
#define ll long long
#define ull unsigned long long
#define pb push_back
#define pii pair<int, int>
using namespace std;
const int INF = 1e9 + 7;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(0); cout.tie(0);
int m; cin >> m;
while(m--)
{
ll n, t, a, b; cin >> n >> t >> a >> b;
vector<pair<ll, ll>> v;
vector<int> hard(n);
int cntA = 0, cntB = 0;
for (int i = 0; i < n; i++) {
cin >> hard[i];
if (hard[i]) {
cntB++;
} else {
cntA++;
}
}
}
return 0;
}