Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

 
 
 
 
General
 
 
# 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
→ Source
#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;
}
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details