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_23258159_27675.cpp: In function 'void dp(int)':
0_0_23258159_27675.cpp:12:1: error: expected primary-expression before '?' token
 ? ? int lm, rm;//不是所要统计的点其实就是障碍点
 ^
0_0_23258159_27675.cpp:12:3: error: expected primary-expression before '?' token
 ? ? int lm, rm;//不是所要统计的点其实就是障碍点
   ^
0_0_23258159_27675.cpp:12:5: error: expected primary-expression before 'int'
 ? ? int lm, rm;//不是所要统计的点其实就是障碍点
     ^
0_0_23258159_27675.cpp:12:5: error: expected ':' before 'int'
0_0_23258159_27675.cpp:12:5: error: expected primary-expression before 'int'
0_0_23258159_27675.cpp:12:5: error: expected ':' before 'int'
0_0_23258159_27675.cpp:12:5: error: expected primary-expression before 'int'
0_0_23258159_27675.cpp:13:1: error: expected primary-expression before '?' token
 ? ? for(int i = 1; i <= m; i ++) ? h[i] = 0, l[i] = 1, r[i] = m;
 ^
0_0_23258159_27675.cpp:13:3: error: expected primary-expression before '?' token
 ? ? for(int i = 1; i <= m; i ++) ? h[i] = 0, l[i] = 1, r[i] = m;
   ^
0_0_23258159_27675.cpp:13:5: error: expected primary-expression before 'for'
 ? ? for(int i = 1; i <= m; i ++) ? h[i] = 0, l[i] = 1, r[i] = m;
     ^
0_0_23258159_27675.cpp:13:5: error: expected ':' before 'for'
0_0_23258159_27675.cpp:13:5: error: expected primary-expression before 'for'
0_0_23258159_27675.cpp:13:5: error: expected ':' before 'for'
0_0_23258159_27675.cpp:13:5: error: expected primary-expression before 'for'
0_0_23258159_27675.cpp:13:20: error: 'i' was not declared in this scope
 ? ? for(int i = 1; i <= m; i ++) ? h[i] = 0, l[i] = 1, r[i] = m;
                    ^
0_0_23258159_27675.cpp:14:1: error: expected primary-expression before '?' token
 ? ? for(int i = 1; i <= n; i ++){//一行一行操作
 ^
0_0_23258159_27675.cpp:14:3: error: expected primary-expression before '?' token
 ? ? for(int i = 1; i <= n; i ++){//一行一行操作
   ^
0_0_23258159_27675.cpp:14:5: error: expected primary-expression before 'for'
 ? ? for(int i = 1; i <= n; i ++){//一行一行操作
     ^
0_0_23258159_27675.cpp:14:5: error: expected ':' before 'for'
0_0_23258159_27675.cpp:14:5: error: expected primary-expression before 'for'
0_0_23258159_27675.cpp:14:5: error: expected ':' before 'for'
0_0_23258159_27675.cpp:14:5: error: expected primary-expression before 'for'
0_0_23258159_27675.cpp: In function 'int main()':
0_0_23258159_27675.cpp:35:1: error: expected primary-expression before '?' token
 ? ? scanf("%d",&T);
 ^
0_0_23258159_27675.cpp:35:3: error: expected primary-expression before '?' token
 ? ? scanf("%d",&T);
   ^
0_0_23258159_27675.cpp:35:19: error: expected ':' before ';' token
 ? ? scanf("%d",&T);
                   ^
0_0_23258159_27675.cpp:35:19: error: expected primary-expression before ';' token
0_0_23258159_27675.cpp:35:19: error: expected ':' before ';' token
0_0_23258159_27675.cpp:35:19: error: expected primary-expression before ';' token
0_0_23258159_27675.cpp:36:1: error: expected primary-expression before '?' token
 ? ? for(int ca = 1; ca <= T; ca ++){
 ^
0_0_23258159_27675.cpp:36:3: error: expected primary-expression before '?' token
 ? ? for(int ca = 1; ca <= T; ca ++){
   ^
0_0_23258159_27675.cpp:36:5: error: expected primary-expression before 'for'
 ? ? for(int ca = 1; ca <= T; ca ++){
     ^
0_0_23258159_27675.cpp:36:5: error: expected ':' before 'for'
0_0_23258159_27675.cpp:36:5: error: expected primary-expression before 'for'
0_0_23258159_27675.cpp:36:5: error: expected ':' before 'for'
0_0_23258159_27675.cpp:36:5: error: expected primary-expression before 'for'
0_0_23258159_27675.cpp:36:21: error: 'ca' was not declared in this scope
 ? ? for(int ca = 1; ca <= T; ca ++){
                     ^


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-23 11:27:53, Gzip enabled