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