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_20975549_11560.cpp:19:18: error: stray '#' in program
         g[a][b] += c;
                  ^
0_0_20975549_11560.cpp:20:18: error: stray '#' in program
         g[b][a] += c;
                  ^
0_0_20975549_11560.cpp:29:25: error: stray '#' in program
     for(i = 1;i <= n;i ++)
                         ^
0_0_20975549_11560.cpp:29:30: error: stray '#' in program
     for(i = 1;i <= n;i ++)
                              ^
0_0_20975549_11560.cpp:37:29: error: stray '#' in program
         for(i = 2;i <= n;i ++)
                             ^
0_0_20975549_11560.cpp:37:34: error: stray '#' in program
         for(i = 2;i <= n;i ++)
                                  ^
0_0_20975549_11560.cpp:42:28: error: stray '#' in program
         for(i = 1;i < n;i ++)
                            ^
0_0_20975549_11560.cpp:42:33: error: stray '#' in program
         for(i = 1;i < n;i ++)
                                 ^
0_0_20975549_11560.cpp:46:33: error: stray '#' in program
             for(j = 1;j <= n;j ++)
                                 ^
0_0_20975549_11560.cpp:46:38: error: stray '#' in program
             for(j = 1;j <= n;j ++)
                                      ^
0_0_20975549_11560.cpp:59:33: error: stray '#' in program
             for(j = 1;j <= n;j ++)
                                 ^
0_0_20975549_11560.cpp:59:38: error: stray '#' in program
             for(j = 1;j <= n;j ++)
                                      ^
0_0_20975549_11560.cpp:62:32: error: stray '#' in program
                     dis[v[j]] += g[v[maxi]][v[j]];
                                ^
0_0_20975549_11560.cpp:66:29: error: stray '#' in program
         for(i = 1;i <= n;i ++)
                             ^
0_0_20975549_11560.cpp:66:34: error: stray '#' in program
         for(i = 1;i <= n;i ++)
                                  ^
0_0_20975549_11560.cpp:68:28: error: stray '#' in program
             g[v[s]][v[i]] += g[v[t]][v[i]];
                            ^
0_0_20975549_11560.cpp: In function 'void build()':
0_0_20975549_11560.cpp:19:22: error: expected primary-expression before '=' token
         g[a][b] += c;
                      ^
0_0_20975549_11560.cpp:20:22: error: expected primary-expression before '=' token
         g[b][a] += c;
                      ^
0_0_20975549_11560.cpp: In function 'void solve()':
0_0_20975549_11560.cpp:29:28: error: expected ')' before ';' token
     for(i = 1;i <= n;i ++)
                            ^
0_0_20975549_11560.cpp:29:31: error: lvalue required as unary '&' operand
     for(i = 1;i <= n;i ++)
                               ^
0_0_20975549_11560.cpp:29:34: error: expected primary-expression before ')' token
     for(i = 1;i <= n;i ++)
                                  ^
0_0_20975549_11560.cpp:37:32: error: expected ')' before ';' token
         for(i = 2;i <= n;i ++)
                                ^
0_0_20975549_11560.cpp:37:35: error: lvalue required as unary '&' operand
         for(i = 2;i <= n;i ++)
                                   ^
0_0_20975549_11560.cpp:37:38: error: expected primary-expression before ')' token
         for(i = 2;i <= n;i ++)
                                      ^
0_0_20975549_11560.cpp:42:31: error: expected ')' before ';' token
         for(i = 1;i < n;i ++)
                               ^
0_0_20975549_11560.cpp:42:34: error: lvalue required as unary '&' operand
         for(i = 1;i < n;i ++)
                                  ^
0_0_20975549_11560.cpp:42:37: error: expected primary-expression before ')' token
         for(i = 1;i < n;i ++)
                                     ^
0_0_20975549_11560.cpp:66:32: error: expected ')' before ';' token
         for(i = 1;i <= n;i ++)
                                ^
0_0_20975549_11560.cpp:66:35: error: lvalue required as unary '&' operand
         for(i = 1;i <= n;i ++)
                                   ^
0_0_20975549_11560.cpp:66:38: error: expected primary-expression before ')' token
         for(i = 1;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-12-01 07:25:22, Gzip enabled