0_0_35647662_11362.cpp:1:1: error: 'include' does not name a type
include <bits/stdc++.h>
^
0_0_35647662_11362.cpp: In function 'int main()':
0_0_35647662_11362.cpp:7:36: error: 'scanf' was not declared in this scope
while (~scanf ("%d %d", &n, &m)) {
^
0_0_35647662_11362.cpp:8:10: error: 'vector' was not declared in this scope
vector < bool >table (2 * n, true);
^
0_0_35647662_11362.cpp:8:19: error: expected primary-expression before 'bool'
vector < bool >table (2 * n, true);
^
0_0_35647662_11362.cpp:14:22: error: 'table' was not declared in this scope
if (table[c % (2 * n)]) {
^
0_0_35647662_11362.cpp:18:14: error: 'table' was not declared in this scope
table[c % (2 * n)] = false;
^
0_0_35647662_11362.cpp:22:18: error: 'table' was not declared in this scope
if (table[i]) {
^
0_0_35647662_11362.cpp:23:30: error: 'putchar' was not declared in this scope
putchar ('G');
^
0_0_35647662_11362.cpp:26:30: error: 'putchar' was not declared in this scope
putchar ('B');
^
0_0_35647662_11362.cpp:29:31: error: 'putchar' was not declared in this scope
putchar ('\n');
^
0_0_35647662_11362.cpp:32:23: error: 'putchar' was not declared in this scope
putchar ('\n');
^
|