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_39479242_1457.cpp:40:14: error: expected constructor, destructor, or type conversion before '(' token
   40 |         scanf("%d",&q);
      |              ^
0_0_39479242_1457.cpp:41:9: error: expected unqualified-id before 'for'
   41 |         for(z=0;z<q;z++)
      |         ^~~
0_0_39479242_1457.cpp:41:19: error: 'q' was not declared in this scope
   41 |         for(z=0;z<q;z++)
      |                   ^
0_0_39479242_1457.cpp:41:19: error: 'q' was not declared in this scope
0_0_39479242_1457.cpp:41:19: error: 'q' was not declared in this scope
0_0_39479242_1457.cpp:41:19: error: 'q' was not declared in this scope
0_0_39479242_1457.cpp:41:19: error: 'q' was not declared in this scope
0_0_39479242_1457.cpp:41:19: error: 'q' was not declared in this scope
0_0_39479242_1457.cpp:41:19: error: 'q' was not declared in this scope
0_0_39479242_1457.cpp:41:19: error: 'q' was not declared in this scope
0_0_39479242_1457.cpp:41:19: error: 'q' was not declared in this scope
0_0_39479242_1457.cpp:41:17: error: 'z' does not name a type
   41 |         for(z=0;z<q;z++)
      |                 ^
0_0_39479242_1457.cpp:41:21: error: 'z' does not name a type
   41 |         for(z=0;z<q;z++)
      |                     ^
0_0_39479242_1457.cpp:53:5: error: expected declaration before '}' token
   53 |     }
      |     ^
0_0_39479242_1457.cpp:55:5: error: expected unqualified-id before 'return'
   55 |     return 0;
      |     ^~~~~~
0_0_39479242_1457.cpp:56:1: error: expected declaration before '}' token
   56 | }
      | ^


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-09-08 11:16:45, Gzip enabled