제출 #466736

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