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_26050873_19225.c:4:6: error: variably modified 'b' at file scope
 char b[NN][NN];
      ^
0_0_26050873_19225.c:4:6: error: variably modified 'b' at file scope
0_0_26050873_19225.c: In function 'IsPlaced':
0_0_26050873_19225.c:12:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  for(int j=0; j<NN; j++)
  ^
0_0_26050873_19225.c:12:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_26050873_19225.c:17:10: error: redefinition of 'j'
  for(int j=0; j<NN; j++)
          ^
0_0_26050873_19225.c:12:10: note: previous definition of 'j' was here
  for(int j=0; j<NN; j++)
          ^
0_0_26050873_19225.c:17:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  for(int j=0; j<NN; j++)
  ^
0_0_26050873_19225.c:24:10: error: redefinition of 'j'
  for(int j=tempRow; j<tempRow+3; j++)
          ^
0_0_26050873_19225.c:17:10: note: previous definition of 'j' was here
  for(int j=0; j<NN; j++)
          ^
0_0_26050873_19225.c:24:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  for(int j=tempRow; j<tempRow+3; j++)
  ^
0_0_26050873_19225.c:25:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
   for(int k=tempCol; k<tempCol+3; k++)
   ^
0_0_26050873_19225.c: In function 'backtrace':
0_0_26050873_19225.c:32:26: error: expected declaration specifiers before '/' token
 void backtrace(int count)//»ØËÝ
                          ^
0_0_26050873_19225.c:32:26: error: stray '\273' in program
0_0_26050873_19225.c:32:26: error: stray '\330' in program
0_0_26050873_19225.c:32:26: error: stray '\313' in program
0_0_26050873_19225.c:32:26: error: stray '\335' in program
0_0_26050873_19225.c:58:4: error: stray '\314' in program
    b[row][col]=i+48;//Ìî³äÊý×Ö
    ^
0_0_26050873_19225.c:58:4: error: stray '\356' in program
0_0_26050873_19225.c:58:4: error: stray '\263' in program
0_0_26050873_19225.c:58:4: error: stray '\344' in program
0_0_26050873_19225.c:58:4: error: stray '\312' in program
0_0_26050873_19225.c:58:4: error: stray '\375' in program
0_0_26050873_19225.c:58:4: error: stray '\327' in program
0_0_26050873_19225.c:58:4: error: stray '\326' in program
0_0_26050873_19225.c:68:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 {
 ^
0_0_26050873_19225.c:87:1: error: expected '{' at end of input
 }
 ^


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-17 12:36:56, Gzip enabled