제출 #314539

#제출 시각아이디문제언어결과실행 시간메모리
314539baibhav26062008Handcrafted Gift (IOI20_gift)C++14
15 / 100
180 ms13236 KiB
#include "gift.h" #include <bits/stdc++.h> using namespace std; int construct(int n, int r, vector<int> a, vector<int> b, vector<int> x) { string s; for (int i = 0; i < r; i++) { if (a[i] == b[i]) { return 0; } } if(x[0] == 2) { for (int j = 0; j < n; j++) { if (j % 2 == 0) { s += "R"; } else { s += "B"; } } } else { for (int j = 0; j < n; j++) { s += "R"; } } 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...