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_37291768_17857.cpp: In function 'int main()':
0_0_37291768_17857.cpp:7:5: error: 'k1' was not declared in this scope
     k1 = 1;
     ^
0_0_37291768_17857.cpp:8:5: error: 'k2' was not declared in this scope
     k2 = 2;
     ^
0_0_37291768_17857.cpp:17:14: error: 'imdex' was not declared in this scope
         if(a[imdex] == 0){
              ^
0_0_37291768_17857.cpp:19:27: error: 'N' was not declared in this scope
             for(int i=0;i<N;i++)
                           ^
0_0_37291768_17857.cpp:28:26: error: expected primary-expression before ')' token
     for(int i=1;i<=n;i<++){
                          ^
0_0_37291768_17857.cpp:34:1: error: expected '}' at end of input
 }
 ^


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-23 15:32:27, Gzip enabled