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_28162312_3777.cpp:1:15: error: expected constructor, destructor, or type conversion before ';' token
         init();
               ^
0_0_28162312_3777.cpp:2:9: error: expected unqualified-id before 'for'
         for(int i = 1; i <= x; i++){
         ^
0_0_28162312_3777.cpp:2:24: error: 'i' does not name a type
         for(int i = 1; i <= x; i++){
                        ^
0_0_28162312_3777.cpp:2:32: error: 'i' does not name a type
         for(int i = 1; i <= x; i++){
                                ^
0_0_28162312_3777.cpp:7:9: error: expected unqualified-id before 'for'
         for(int i = 1; i < x; i++)addedge(0, (i - 1) * (x - 1) + 1, w[i][1]);
         ^
0_0_28162312_3777.cpp:7:24: error: 'i' does not name a type
         for(int i = 1; i < x; i++)addedge(0, (i - 1) * (x - 1) + 1, w[i][1]);
                        ^
0_0_28162312_3777.cpp:7:31: error: 'i' does not name a type
         for(int i = 1; i < x; i++)addedge(0, (i - 1) * (x - 1) + 1, w[i][1]);
                               ^
0_0_28162312_3777.cpp:8:9: error: expected unqualified-id before 'for'
         for(int i = 1; i < x; i++)addedge(0, (x - 2) * (x - 1) + i, w[x][i]);
         ^
0_0_28162312_3777.cpp:8:24: error: 'i' does not name a type
         for(int i = 1; i < x; i++)addedge(0, (x - 2) * (x - 1) + i, w[x][i]);
                        ^
0_0_28162312_3777.cpp:8:31: error: 'i' does not name a type
         for(int i = 1; i < x; i++)addedge(0, (x - 2) * (x - 1) + i, w[x][i]);
                               ^
0_0_28162312_3777.cpp:9:9: error: expected unqualified-id before 'for'
         for(int i = 1; i < x; i++)addedge((i - 1) * (x - 1) + x - 1, s, w[i][x]);
         ^
0_0_28162312_3777.cpp:9:24: error: 'i' does not name a type
         for(int i = 1; i < x; i++)addedge((i - 1) * (x - 1) + x - 1, s, w[i][x]);
                        ^
0_0_28162312_3777.cpp:9:31: error: 'i' does not name a type
         for(int i = 1; i < x; i++)addedge((i - 1) * (x - 1) + x - 1, s, w[i][x]);
                               ^
0_0_28162312_3777.cpp:10:9: error: expected unqualified-id before 'for'
         for(int i = 1; i < x; i++)addedge(i, s, w[1][i]);
         ^
0_0_28162312_3777.cpp:10:24: error: 'i' does not name a type
         for(int i = 1; i < x; i++)addedge(i, s, w[1][i]);
                        ^
0_0_28162312_3777.cpp:10:31: error: 'i' does not name a type
         for(int i = 1; i < x; i++)addedge(i, s, w[1][i]);
                               ^
0_0_28162312_3777.cpp:11:9: error: expected unqualified-id before 'for'
         for(int i = x - 1; i; i--){
         ^
0_0_28162312_3777.cpp:11:28: error: 'i' does not name a type
         for(int i = x - 1; i; i--){
                            ^
0_0_28162312_3777.cpp:11:31: error: 'i' does not name a type
         for(int i = x - 1; i; i--){
                               ^
0_0_28162312_3777.cpp:19:14: error: expected constructor, destructor, or type conversion before ';' token
         dij();
              ^
0_0_28162312_3777.cpp:20:9: error: 'cout' does not name a type
         cout << d[s] << '\n';
         ^
0_0_28162312_3777.cpp:21:6: error: expected declaration before '}' token
      }
      ^


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-26 14:20:18, Gzip enabled