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_16836144_25107.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
 include<stdio.h>
        ^
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/math.h:13,
                 from 0_0_16836144_25107.c:2:
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_16836144_25107.c: In function 'main':
0_0_16836144_25107.c:7:19: error: 'n' undeclared (first use in this function)
 while(scanf("%d",&n)!=EOF){
                   ^
0_0_16836144_25107.c:7:19: note: each undeclared identifier is reported only once for each function it appears in
0_0_16836144_25107.c:7:23: error: 'EOF' undeclared (first use in this function)
 while(scanf("%d",&n)!=EOF){
                       ^
0_0_16836144_25107.c:9:13: error: 'm' undeclared (first use in this function)
 scanf("%d",&m);
             ^
0_0_16836144_25107.c:11:5: error: 'i' undeclared (first use in this function)
 for(i=1;i<=m;i++)
     ^


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-10-06 04:04:24, Gzip enabled