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_27040184_23999.c: In function 'del_partci':
0_0_27040184_23999.c:24:2: error: expected expression before '/' token
  //row handle
  ^
0_0_27040184_23999.c:38:2: error: 'sub_g_p' undeclared (first use in this function)
  sub_g_p = get_sub_group_idx(x, y);
  ^
0_0_27040184_23999.c:38:2: note: each undeclared identifier is reported only once for each function it appears in
0_0_27040184_23999.c:39:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  for (int i = sub_g_p.x; i < sub_g_p.x+3; i++){
  ^
0_0_27040184_23999.c:39:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_27040184_23999.c:40:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
   for (int j = sub_g_p.y; j < sub_g_p.y+3; j++){
   ^
0_0_27040184_23999.c: In function 'only_one_partci_handle':
0_0_27040184_23999.c:51:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  for (int i = 1; i < LINE+1; i++){
  ^
0_0_27040184_23999.c: In function 'scan_one':
0_0_27040184_23999.c:68:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  for (int i = 0; i < LINE; i++){
  ^
0_0_27040184_23999.c:69:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
   for (int j = 0; j < LINE; j++){
   ^
0_0_27040184_23999.c: In function 'init':
0_0_27040184_23999.c:86:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  for (int i = 0; i < LINE; i++){
  ^
0_0_27040184_23999.c:87:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
   for (int j = 0; j < LINE; j++){
   ^
0_0_27040184_23999.c:88:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
    for (int n = 0; n < LINE+1; n++){
    ^
0_0_27040184_23999.c: In function 'main':
0_0_27040184_23999.c:102:2: error: expected expression before '/' token
  //freopen("input.txt", "r", stdin);
  ^


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 10:25:00, Gzip enabled