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_17841605_25132.cpp: In function 'int main()':
0_0_17841605_25132.cpp:31:25: error: 't' was not declared in this scope
             scanf("%d",&t[i],&s[i]);
                         ^
0_0_17841605_25132.cpp:31:31: error: 's' was not declared in this scope
             scanf("%d",&t[i],&s[i]);
                               ^
0_0_17841605_25132.cpp:34:28: error: 'u' was not declared in this scope
                scanf("%d",&u);
                            ^
0_0_17841605_25132.cpp:38:12: error: 'dp' was not declared in this scope
         MM(dp,inf);MM(step,inf);MM(vis,0);
            ^
0_0_17841605_25132.cpp:13:24: note: in definition of macro 'MM'
 #define MM(a,b) memset(a,b,sizeof(a));
                        ^
0_0_17841605_25132.cpp:38:23: error: 'step' was not declared in this scope
         MM(dp,inf);MM(step,inf);MM(vis,0);
                       ^
0_0_17841605_25132.cpp:13:24: note: in definition of macro 'MM'
 #define MM(a,b) memset(a,b,sizeof(a));
                        ^
0_0_17841605_25132.cpp:38:36: error: 'vis' was not declared in this scope
         MM(dp,inf);MM(step,inf);MM(vis,0);
                                    ^
0_0_17841605_25132.cpp:13:24: note: in definition of macro 'MM'
 #define MM(a,b) memset(a,b,sizeof(a));
                        ^
0_0_17841605_25132.cpp:39:12: error: 'dpn' was not declared in this scope
         MM(dpn,inf);MM(visn,0);
            ^
0_0_17841605_25132.cpp:13:24: note: in definition of macro 'MM'
 #define MM(a,b) memset(a,b,sizeof(a));
                        ^
0_0_17841605_25132.cpp:39:24: error: 'visn' was not declared in this scope
         MM(dpn,inf);MM(visn,0);
                        ^
0_0_17841605_25132.cpp:13:24: note: in definition of macro 'MM'
 #define MM(a,b) memset(a,b,sizeof(a));
                        ^
0_0_17841605_25132.cpp:53:42: error: 't' was not declared in this scope
                  dp[v]=min(dp[v],step[u]+t[u]);
                                          ^
0_0_17841605_25132.cpp:61:24: error: expected ')' 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-10-06 10:34:36, Gzip enabled