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_16438026_4693.cpp:4:2: error: 'cin' does not name a type
  cin >> size >> root_number;
  ^
0_0_16438026_4693.cpp:5:2: error: 'vector' does not name a type
  vector < node > array(size);
  ^
0_0_16438026_4693.cpp:6:2: error: expected unqualified-id before 'for'
  for (i = 0; i < size; i++)
  ^
0_0_16438026_4693.cpp:6:14: error: 'i' does not name a type
  for (i = 0; i < size; i++)
              ^
0_0_16438026_4693.cpp:6:24: error: 'i' does not name a type
  for (i = 0; i < size; i++)
                        ^
0_0_16438026_4693.cpp:11:2: error: expected unqualified-id before 'while'
  while (true)
  ^
0_0_16438026_4693.cpp:22:2: error: expected unqualified-id before 'for'
  for (i = 0; i < size; i++)
  ^
0_0_16438026_4693.cpp:22:14: error: 'i' does not name a type
  for (i = 0; i < size; i++)
              ^
0_0_16438026_4693.cpp:22:24: error: 'i' does not name a type
  for (i = 0; i < size; i++)
                        ^
0_0_16438026_4693.cpp:29:2: error: expected unqualified-id before 'for'
  for (i = 0; i < size; i++)
  ^
0_0_16438026_4693.cpp:29:14: error: 'i' does not name a type
  for (i = 0; i < size; i++)
              ^
0_0_16438026_4693.cpp:29:24: error: 'i' does not name a type
  for (i = 0; i < size; i++)
                        ^
0_0_16438026_4693.cpp:43:2: error: 'cout' does not name a type
  cout << Ci_sum << endl;
  ^
0_0_16438026_4693.cpp:44:1: error: expected declaration before '}' token
 }
 ^


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-11-20 13:24:45, Gzip enabled