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_19923045_7669.c:1:1: error: expected identifier or '(' before '/' token
 //
 ^
0_0_19923045_7669.c:2:5: error: invalid suffix "c" on floating constant
 //  1001.c
     ^
0_0_19923045_7669.c:5:1: error: stray '\325' in program
 //  Created by 张江澜 on 2017/2/26.
 ^
0_0_19923045_7669.c:5:1: error: stray '\305' in program
0_0_19923045_7669.c:5:1: error: stray '\275' in program
0_0_19923045_7669.c:5:1: error: stray '\255' in program
0_0_19923045_7669.c:5:1: error: stray '\300' in program
0_0_19923045_7669.c:5:1: error: stray '\275' in program
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_19923045_7669.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_19923045_7669.c: In function 'new_node':
0_0_19923045_7669.c:15:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for (int i = 0; i < 26; i++)
     ^
0_0_19923045_7669.c:15:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_19923045_7669.c: In function 'update':
0_0_19923045_7669.c:28:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for (int i = 0; i < 2; i++) {
     ^
0_0_19923045_7669.c:30:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
             for (int j = 1; j > i; j--)
             ^
0_0_19923045_7669.c: In function 'insert':
0_0_19923045_7669.c:40:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for (int i = 0; str[i] != '\0'; i++) {
     ^
0_0_19923045_7669.c: In function 'sum':
0_0_19923045_7669.c:51:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for (int i = 0; i < cnt; i++) {
     ^
0_0_19923045_7669.c: In function 'main':
0_0_19923045_7669.c:66:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
         for (int i = 0; i < n; 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-06-30 16:25:29, Gzip enabled