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_19603576_11825.c:1:1: error: expected identifier or '(' before '/' token
 //
 ^
0_0_19603576_11825.c:6:16: error: stray '#' in program
 //  Copyright © 2017 GUO Xing. All rights reserved.
                ^
0_0_19603576_11825.c:6:22: error: expected identifier or '(' before numeric constant
 //  Copyright © 2017 GUO Xing. All rights reserved.
                      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:282:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10,
                 from GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:9,
                 from 0_0_19603576_11825.c:9:
GCC4.9.2/x86_64-w64-mingw32/include/vadefs.h:29:11: error: unknown type name '__gnuc_va_list'
   typedef __gnuc_va_list va_list;
           ^
0_0_19603576_11825.c: In function 'main':
0_0_19603576_11825.c:31:5: error: expected expression before '/' token
     // insert code here...
     ^
0_0_19603576_11825.c:34:25: error: 'a' undeclared (first use in this function)
     while(scanf("%ld", &a)!=EOF){
                         ^
0_0_19603576_11825.c:34:25: note: each undeclared identifier is reported only once for each function it appears in
0_0_19603576_11825.c:37:9: error: expected expression before '/' token
         //long pc = 0;
         ^
0_0_19603576_11825.c:40:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
         for(int i=1;i<32;i++){
         ^
0_0_19603576_11825.c:40:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_19603576_11825.c:49:13: error: 'value' undeclared (first use in this function)
             value = (int)numb[ct]>>5;
             ^
0_0_19603576_11825.c:50:34: error: expected expression before '/' token
             if(value==0){        // numb[ct]&63
                                  ^
0_0_19603576_11825.c:54:36: error: expected expression before '/' token
             }else if(value==2){    /////
                                    ^
0_0_19603576_11825.c:77:17: error: redefinition of 'i'
         for(int i=7;i>-1;i--)
                 ^
0_0_19603576_11825.c:40:17: note: previous definition of 'i' was here
         for(int i=1;i<32;i++){
                 ^
0_0_19603576_11825.c:77:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
         for(int i=7;i>-1;i--)
         ^
0_0_19603576_11825.c: At top level:
0_0_19603576_11825.c:82:1: error: expected identifier or '(' before '/' token
 //10000111
 ^


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-07-04 16:50:27, Gzip enabled