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_32159898_10816.cpp:28:1: error: expected unqualified-id before '?' token
 ??? int y,lx,rx,color;
 ^
0_0_32159898_10816.cpp:29:1: error: expected unqualified-id before '?' token
 ??? bool val;
 ^
0_0_32159898_10816.cpp:30:1: error: expected unqualified-id before '?' token
 ??? bool operator<(node b)const{
 ^
0_0_32159898_10816.cpp: In function 'void eval(int, int, int)':
0_0_32159898_10816.cpp:36:1: error: expected primary-expression before '?' token
 ??? int white=X[r+1]-X[l],Color=0;
 ^
0_0_32159898_10816.cpp:36:2: error: expected primary-expression before '?' token
 ??? int white=X[r+1]-X[l],Color=0;
  ^
0_0_32159898_10816.cpp:36:3: error: expected primary-expression before '?' token
 ??? int white=X[r+1]-X[l],Color=0;
   ^
0_0_32159898_10816.cpp:36:5: error: expected primary-expression before 'int'
 ??? int white=X[r+1]-X[l],Color=0;
     ^
0_0_32159898_10816.cpp:36:5: error: expected ':' before 'int'
0_0_32159898_10816.cpp:36:5: error: expected primary-expression before 'int'
0_0_32159898_10816.cpp:36:5: error: expected ':' before 'int'
0_0_32159898_10816.cpp:36:5: error: expected primary-expression before 'int'
0_0_32159898_10816.cpp:36:5: error: expected ':' before 'int'
0_0_32159898_10816.cpp:36:5: error: expected primary-expression before 'int'
0_0_32159898_10816.cpp:37:1: error: expected primary-expression before '?' token
 ??? //if(l==r)
 ^
0_0_32159898_10816.cpp:37:2: error: expected primary-expression before '?' token
 ??? //if(l==r)
  ^
0_0_32159898_10816.cpp:37:3: error: expected primary-expression before '?' token
 ??? //if(l==r)
   ^
0_0_32159898_10816.cpp:38:1: error: expected primary-expression before '?' token
 ??? //??? return;
 ^
0_0_32159898_10816.cpp:38:2: error: expected primary-expression before '?' token
 ??? //??? return;
  ^
0_0_32159898_10816.cpp:38:3: error: expected primary-expression before '?' token
 ??? //??? return;
   ^
0_0_32159898_10816.cpp:39:1: error: expected primary-expression before '?' token
 ??? for(int i=0;i<=2;i++)
 ^
0_0_32159898_10816.cpp:39:2: error: expected primary-expression before '?' token
 ??? for(int i=0;i<=2;i++)
  ^
0_0_32159898_10816.cpp:39:3: error: expected primary-expression before '?' token
 ??? for(int i=0;i<=2;i++)
   ^
0_0_32159898_10816.cpp:39:5: error: expected primary-expression before 'for'
 ??? for(int i=0;i<=2;i++)
     ^
0_0_32159898_10816.cpp:39:5: error: expected ':' before 'for'
0_0_32159898_10816.cpp:39:5: error: expected primary-expression before 'for'
0_0_32159898_10816.cpp:39:5: error: expected ':' before 'for'
0_0_32159898_10816.cpp:39:5: error: expected primary-expression before 'for'
0_0_32159898_10816.cpp:39:5: error: expected ':' before 'for'
0_0_32159898_10816.cpp:39:5: error: expected primary-expression before 'for'
0_0_32159898_10816.cpp:39:5: error: expected ':' before 'for'
0_0_32159898_10816.cpp:39:5: error: expected primary-expression before 'for'
0_0_32159898_10816.cpp:39:5: error: expected ':' before 'for'
0_0_32159898_10816.cpp:39:5: error: expected primary-expression before 'for'
0_0_32159898_10816.cpp:39:5: error: expected ':' before 'for'
0_0_32159898_10816.cpp:39:5: error: expected primary-expression before 'for'
0_0_32159898_10816.cpp:39:5: error: expected ':' before 'for'
0_0_32159898_10816.cpp:39:5: error: expected primary-expression before 'for'
0_0_32159898_10816.cpp:39:5: error: expected ':' before 'for'
0_0_32159898_10816.cpp:39:5: error: expected primary-expression before 'for'
0_0_32159898_10816.cpp:39:5: error: expected ':' before 'for'
0_0_32159898_10816.cpp:39:5: error: expected primary-expression before 'for'
0_0_32159898_10816.cpp:39:17: error: 'i' was not declared in this scope
 ??? for(int i=0;i<=2;i++)
                 ^
0_0_32159898_10816.cpp:44:1: error: expected primary-expression before '?' token
 ??? for(int i=1; i<=7; i++)
 ^
0_0_32159898_10816.cpp:44:2: error: expected primary-expression before '?' token
 ??? for(int i=1; i<=7; i++)
  ^
0_0_32159898_10816.cpp:44:3: error: expected primary-expression before '?' token
 ??? for(int i=1; i<=7; i++)
   ^
0_0_32159898_10816.cpp:44:5: error: expected primary-expression before 'for'
 ??? for(int i=1; i<=7; i++)
     ^
0_0_32159898_10816.cpp:44:5: error: expected ':' before 'for'
0_0_32159898_10816.cpp:44:5: error: expected primary-expression before 'for'
0_0_32159898_10816.cpp:44:5: error: expected ':' before 'for'
0_0_32159898_10816.cpp:44:5: error: expected primary-expression before 'for'
0_0_32159898_10816.cpp:44:5: error: expected ':' before 'for'
0_0_32159898_10816.cpp:44:5: error: expected primary-expression before 'for'
0_0_32159898_10816.cpp:46:1: error: expected primary-expression before '?' token
 ??? if(l==r)
 ^
0_0_32159898_10816.cpp:46:2: error: expected primary-expression before '?' token
 ??? if(l==r)
  ^
0_0_32159898_10816.cpp:46:3: error: expected primary-expression before '?' token
 ??? if(l==r)
   ^
0_0_32159898_10816.cpp:46:5: error: expected primary-expression before 'if'
 ??? if(l==r)
     ^
0_0_32159898_10816.cpp:46:5: error: expected ':' before 'if'
0_0_32159898_10816.cpp:46:5: error: expected primary-expression before 'if'
0_0_32159898_10816.cpp:46:5: error: expected ':' before 'if'
0_0_32159898_10816.cpp:46:5: error: expected primary-expression before 'if'
0_0_32159898_10816.cpp:46:5: error: expected ':' before 'if'
0_0_32159898_10816.cpp:46:5: error: expected primary-expression before 'if'
0_0_32159898_10816.cpp:52:1: error: expected primary-expression before '?' token
 ??? for(int i=1; i<=7; i++)
 ^
0_0_32159898_10816.cpp:52:2: error: expected primary-expression before '?' token
 ??? for(int i=1; i<=7; i++)
  ^
0_0_32159898_10816.cpp:52:3: error: expected primary-expression before '?' token
 ??? for(int i=1; i<=7; i++)
   ^
0_0_32159898_10816.cpp:52:5: error: expected primary-expression before 'for'
 ??? for(int i=1; i<=7; i++)
     ^
0_0_32159898_10816.cpp:52:5: error: expected ':' before 'for'
0_0_32159898_10816.cpp:52:5: error: expected primary-expression before 'for'
0_0_32159898_10816.cpp:52:5: error: expected ':' before 'for'
0_0_32159898_10816.cpp:52:5: error: expected primary-expression before 'for'
0_0_32159898_10816.cpp:52:5: error: expected ':' before 'for'
0_0_32159898_10816.cpp:52:5: error: expected primary-expression before 'for'
0_0_32159898_10816.cpp:57:1: error: expected primary-expression before '?' token
 ??? if(Color)
 ^
0_0_32159898_10816.cpp:57:2: error: expected primary-expression before '?' token
 ??? if(Color)
  ^
0_0_32159898_10816.cpp:57:3: error: expected primary-expression before '?' token
 ??? if(Color)
   ^
0_0_32159898_10816.cpp:57:5: error: expected primary-expression before 'if'
 ??? if(Color)
     ^
0_0_32159898_10816.cpp:57:5: error: expected ':' before 'if'
0_0_32159898_10816.cpp:57:5: error: expected primary-expression before 'if'
0_0_32159898_10816.cpp:57:5: error: expected ':' before 'if'
0_0_32159898_10816.cpp:57:5: error: expected primary-expression before 'if'
0_0_32159898_10816.cpp:57:5: error: expected ':' before 'if'
0_0_32159898_10816.cpp:57:5: error: expected primary-expression before 'if'
0_0_32159898_10816.cpp: In function 'void change(int, int, int, int, int, int, bool)':
0_0_32159898_10816.cpp:62:1: error: expected primary-expression before '?' token
 ??? if(l==ll&&r==rr)
 ^
0_0_32159898_10816.cpp:62:2: error: expected primary-expression before '?' token
 ??? if(l==ll&&r==rr)
  ^
0_0_32159898_10816.cpp:62:3: error: expected primary-expression before '?' token
 ??? if(l==ll&&r==rr)
   ^
0_0_32159898_10816.cpp:62:5: error: expected primary-expression before 'if'
 ??? if(l==ll&&r==rr)
     ^
0_0_32159898_10816.cpp:62:5: error: expected ':' before 'if'
0_0_32159898_10816.cpp:62:5: error: expected primary-expression before 'if'
0_0_32159898_10816.cpp:62:5: error: expected ':' before 'if'
0_0_32159898_10816.cpp:62:5: error: expected primary-expression before 'if'
0_0_32159898_10816.cpp:62:5: error: expected ':' before 'if'
0_0_32159898_10816.cpp:62:5: error: expected primary-expression before 'if'
0_0_32159898_10816.cpp:71:1: error: expected primary-expression before '?' token
 ??? if(rr<=mid)
 ^
0_0_32159898_10816.cpp:71:2: error: expected primary-expression before '?' token
 ??? if(rr<=mid)
  ^
0_0_32159898_10816.cpp:71:3: error: expected primary-expression before '?' token
 ??? if(rr<=mid)
   ^
0_0_32159898_10816.cpp:71:5: error: expected primary-expression before 'if'
 ??? if(rr<=mid)
     ^
0_0_32159898_10816.cpp:71:5: error: expected ':' before 'if'
0_0_32159898_10816.cpp:71:5: error: expected primary-expression before 'if'
0_0_32159898_10816.cpp:71:5: error: expected ':' before 'if'
0_0_32159898_10816.cpp:71:5: error: expected primary-expression before 'if'
0_0_32159898_10816.cpp:71:5: error: expected ':' before 'if'
0_0_32159898_10816.cpp:71:5: error: expected primary-expression before 'if'
0_0_32159898_10816.cpp:73:1: error: expected primary-expression before '?' token
 ??? else if(ll>mid)
 ^
0_0_32159898_10816.cpp:73:2: error: expected primary-expression before '?' token
 ??? else if(ll>mid)
  ^
0_0_32159898_10816.cpp:73:3: error: expected primary-expression before '?' token
 ??? else if(ll>mid)
   ^
0_0_32159898_10816.cpp:73:5: error: expected primary-e


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-26 00:45:14, Gzip enabled