제출 #1230804

#제출 시각아이디문제언어결과실행 시간메모리
1230804AndreasKHandcrafted Gift (IOI20_gift)C++20
10 / 100
95 ms13264 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...