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_30097144_5785.cpp: In function 'int book(int)':
0_0_30097144_5785.cpp:12:1: error: expected primary-expression before '?' token
 ? ? int left,right,zh;
 ^
0_0_30097144_5785.cpp:12:3: error: expected primary-expression before '?' token
 ? ? int left,right,zh;
   ^
0_0_30097144_5785.cpp:12:5: error: expected primary-expression before 'int'
 ? ? int left,right,zh;
     ^
0_0_30097144_5785.cpp:12:5: error: expected ':' before 'int'
0_0_30097144_5785.cpp:12:5: error: expected primary-expression before 'int'
0_0_30097144_5785.cpp:12:5: error: expected ':' before 'int'
0_0_30097144_5785.cpp:12:5: error: expected primary-expression before 'int'
0_0_30097144_5785.cpp:13:1: error: expected primary-expression before '?' token
 ? ? left=0;right=p-1;
 ^
0_0_30097144_5785.cpp:13:3: error: expected primary-expression before '?' token
 ? ? left=0;right=p-1;
   ^
0_0_30097144_5785.cpp:13:9: error: assignment of function 'std::ios_base& std::left(std::ios_base&)'
 ? ? left=0;right=p-1;
         ^
0_0_30097144_5785.cpp:13:9: error: cannot convert 'int' to 'std::ios_base&(std::ios_base&)' in assignment
0_0_30097144_5785.cpp:13:11: error: expected ':' before ';' token
 ? ? left=0;right=p-1;
           ^
0_0_30097144_5785.cpp:13:11: error: expected primary-expression before ';' token
0_0_30097144_5785.cpp:13:11: error: expected ':' before ';' token
0_0_30097144_5785.cpp:13:11: error: expected primary-expression before ';' token
0_0_30097144_5785.cpp:13:17: error: assignment of function 'std::ios_base& std::right(std::ios_base&)'
 ? ? left=0;right=p-1;
                 ^
0_0_30097144_5785.cpp:13:17: error: cannot convert 'int' to 'std::ios_base&(std::ios_base&)' in assignment
0_0_30097144_5785.cpp:14:1: error: expected primary-expression before '?' token
 ? ? while(left<=right)
 ^
0_0_30097144_5785.cpp:14:3: error: expected primary-expression before '?' token
 ? ? while(left<=right)
   ^
0_0_30097144_5785.cpp:14:5: error: expected primary-expression before 'while'
 ? ? while(left<=right)
     ^
0_0_30097144_5785.cpp:14:5: error: expected ':' before 'while'
0_0_30097144_5785.cpp:14:5: error: expected primary-expression before 'while'
0_0_30097144_5785.cpp:14:5: error: expected ':' before 'while'
0_0_30097144_5785.cpp:14:5: error: expected primary-expression before 'while'
0_0_30097144_5785.cpp:21:1: error: expected primary-expression before '?' token
 ? ?return 0;
 ^
0_0_30097144_5785.cpp:21:3: error: expected primary-expression before '?' token
 ? ?return 0;
   ^
0_0_30097144_5785.cpp:21:4: error: expected primary-expression before 'return'
 ? ?return 0;
    ^
0_0_30097144_5785.cpp:21:4: error: expected ':' before 'return'
0_0_30097144_5785.cpp:21:4: error: expected primary-expression before 'return'
0_0_30097144_5785.cpp:21:4: error: expected ':' before 'return'
0_0_30097144_5785.cpp:21:4: error: expected primary-expression before 'return'
0_0_30097144_5785.cpp: In function 'int main()':
0_0_30097144_5785.cpp:25:1: error: expected primary-expression before '?' token
 ? ? int u=1;
 ^
0_0_30097144_5785.cpp:25:3: error: expected primary-expression before '?' token
 ? ? int u=1;
   ^
0_0_30097144_5785.cpp:25:5: error: expected primary-expression before 'int'
 ? ? int u=1;
     ^
0_0_30097144_5785.cpp:25:5: error: expected ':' before 'int'
0_0_30097144_5785.cpp:25:5: error: expected primary-expression before 'int'
0_0_30097144_5785.cpp:25:5: error: expected ':' before 'int'
0_0_30097144_5785.cpp:25:5: error: expected primary-expression before 'int'
0_0_30097144_5785.cpp:26:1: error: expected primary-expression before '?' token
 ? ? while(scanf("%d %d %d",&a,&b,&c)!=EOF)
 ^
0_0_30097144_5785.cpp:26:3: error: expected primary-expression before '?' token
 ? ? while(scanf("%d %d %d",&a,&b,&c)!=EOF)
   ^
0_0_30097144_5785.cpp:26:5: error: expected primary-expression before 'while'
 ? ? while(scanf("%d %d %d",&a,&b,&c)!=EOF)
     ^
0_0_30097144_5785.cpp:26:5: error: expected ':' before 'while'
0_0_30097144_5785.cpp:26:5: error: expected primary-expression before 'while'
0_0_30097144_5785.cpp:26:5: error: expected ':' before 'while'
0_0_30097144_5785.cpp:26:5: error: expected primary-expression before 'while'


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-27 04:01:34, Gzip enabled