#ifndef SKY
#include "Anna.h"
#endif // SKY
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define all(x) x.begin(), x.end()
#define pii pair<int, int>
void Anna (int n, vector <char> s) {
for (int i = 0; i < n; i ++)
if (s[i] == 'X' && s[i] == 'Z') Send (i);
}
#ifdef SKY
int32_t main() {
return 0;
}
#endif // SKY
#ifndef SKY
#include "Bruno.h"
#endif // SKY
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define all(x) x.begin(), x.end()
#define pii pair<int, int>
void Bruno(int n, int l, std::vector<int> a) {
int cur = 0;
for (int i = 0; i < l; i ++) {
while (cur < a[i]) {
Remove (cur); cur ++;
}
}
while (cur < n) {
Remove (cur);
cur ++;
}
}
#ifdef SKY
int32_t main() {
return 0;
}
#endif // SKY
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |