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_24790201_26046.cpp: In function 'int main()':
0_0_24790201_26046.cpp:18:14: error: 'x' was not declared in this scope
     if(g[i]){x=i;break;}
              ^
0_0_24790201_26046.cpp:19:16: error: 'x' was not declared in this scope
    printf("%d",x);
                ^
0_0_24790201_26046.cpp:20:7: error: 'j' was not declared in this scope
    if(j<n) printf(" ");
       ^
0_0_24790201_26046.cpp:24:6: error: 'll {aka long long int}' is not a template
   if(ll<t) printf("\n");
      ^
0_0_24790201_26046.cpp:24:9: error: the value of 't' is not usable in a constant expression
   if(ll<t) printf("\n");
         ^
0_0_24790201_26046.cpp:8:5: note: 'int t' is not const
 int t,n,g[maxn],m;
     ^
0_0_24790201_26046.cpp:24:10: error: expected primary-expression before ')' token
   if(ll<t) printf("\n");
          ^
0_0_24790201_26046.cpp: At global scope:
0_0_24790201_26046.cpp:26:2: error: expected unqualified-id before 'return'
  return 0;
  ^
0_0_24790201_26046.cpp:27:1: error: expected declaration before '}' token
 }
 ^


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.015600(s) query 1, Server time : 2024-11-29 07:15:53, Gzip enabled