#include <bits/stdc++.h>
#include "gift.h"
using namespace std;
#define designed ios_base::sync_with_stdio(0);
#define by cin.tie(0);
#define AndreasK cout.tie(0);
//#define int long long
#define akinput freopen("akinput.txt", "r", stdin);
#define akoutput freopen("akoutput.txt", "w", stdout);
int construct(int n, int r, vector<int> a, vector<int> b, vector<int> x) {
if (x[0] == 1) {
string s = "";
for (int c = 0; c < n; c++)
s += 'R';
craft(s);
}
else {
string s = "";
for (int c = 0; c < n; c++)
if (c % 2 == 0)
s += 'R';
else
s += 'B';
craft(s);
}
return 1;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |