F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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');
                       ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-02 06:29:40, Gzip enabled