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_29543961_25661.cpp:2:2: error: expected unqualified-id before ']' token
  ],b[];
  ^
0_0_29543961_25661.cpp: In function 'int main()':
0_0_29543961_25661.cpp:5:6: error: expected primary-expression before ',' token
      ,ans;
      ^
0_0_29543961_25661.cpp:5:7: error: 'ans' was not declared in this scope
      ,ans;
       ^
0_0_29543961_25661.cpp:6:18: error: 't' was not declared in this scope
      scanf("%d",&t);
                  ^
0_0_29543961_25661.cpp:8:24: error: 'n' was not declared in this scope
          scanf("%d%d",&n,&k);
                        ^
0_0_29543961_25661.cpp:8:27: error: 'k' was not declared in this scope
          scanf("%d%d",&n,&k);
                           ^
0_0_29543961_25661.cpp:9:10: error: 'i' was not declared in this scope
          i=j=;
          ^
0_0_29543961_25661.cpp:9:12: error: 'j' was not declared in this scope
          i=j=;
            ^
0_0_29543961_25661.cpp:9:14: error: expected primary-expression before ';' token
          i=j=;
              ^
0_0_29543961_25661.cpp:10:10: error: 'a' was not declared in this scope
          a[]=b[]=;
          ^
0_0_29543961_25661.cpp:10:12: error: expected primary-expression before ']' token
          a[]=b[]=;
            ^
0_0_29543961_25661.cpp:10:14: error: 'b' was not declared in this scope
          a[]=b[]=;
              ^
0_0_29543961_25661.cpp:10:16: error: expected primary-expression before ']' token
          a[]=b[]=;
                ^
0_0_29543961_25661.cpp:10:18: error: expected primary-expression before ';' token
          a[]=b[]=;
                  ^
0_0_29543961_25661.cpp:13:23: error: expected primary-expression before ']' token
              a[i]=b[i-]+;
                       ^
0_0_29543961_25661.cpp:13:25: error: expected primary-expression before ';' token
              a[i]=b[i-]+;
                         ^
0_0_29543961_25661.cpp:14:14: error: expected primary-expression before ']' token
              ]*k<a[i]) j++;
              ^
0_0_29543961_25661.cpp:18:31: error: 'c' was not declared in this scope
          printf("Case %d: ",++c);
                               ^


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 04:36:26, Gzip enabled