?
# | Author | Problem | Lang | Verdict | Time | Memory | Sent | Judged | |
---|---|---|---|---|---|---|---|---|---|
47515698 |
Practice: cristi_cretan |
253A - 17 | C++14 (GCC 6-32) | Wrong answer on test 1 | 30 ms | 0 KB | 2018-12-26 12:44:15 | 2018-12-26 12:44:15 |
#include <iostream> #include <stdio.h> #include <string.h> #include <algorithm> #include <iomanip> #include <math.h> #define NMax 200025 #define f cin #define g cout using namespace std; int n, m; int main() { ios::sync_with_stdio(false); f.tie(0); f >> n >> m; while(n != 0 || m != 0) { if(n != 0) { g << "B"; --n; } if(m != 0) { g << "G"; --m; } } return 0; }
?
?
?
?