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_35910183_5153.cpp:8:1: error: 'vector' does not name a type
 vector<int> pre[25];
 ^
0_0_35910183_5153.cpp: In function 'int main()':
0_0_35910183_5153.cpp:10:2: error: 'ios' has not been declared
  ios::sync_with_stdio(false);
  ^
0_0_35910183_5153.cpp:11:5: error: 'cout' was not declared in this scope
     cout.tie(NULL);
     ^
0_0_35910183_5153.cpp:11:14: error: 'NULL' was not declared in this scope
     cout.tie(NULL);
              ^
0_0_35910183_5153.cpp:13:30: error: 'scanf' was not declared in this scope
     while(~scanf("%d%d",&n,&m)){
                              ^
0_0_35910183_5153.cpp:21:24: error: 'vector' was not declared in this scope
   for(int i=0;i<n;i++) vector<int>().swap(pre[i]);
                        ^
0_0_35910183_5153.cpp:21:31: error: expected primary-expression before 'int'
   for(int i=0;i<n;i++) vector<int>().swap(pre[i]);
                               ^
0_0_35910183_5153.cpp:30:7: error: 'pre' was not declared in this scope
       pre[b].push_back(a);
       ^
0_0_35910183_5153.cpp:40:20: error: 'pre' was not declared in this scope
      for(int v=0;v<pre[k].size();v++){//ÅжÏÏÞ¶¨Ìõ¼þ 
                    ^
0_0_35910183_5153.cpp:47:68: error: 'min' was not declared in this scope
      if(flag) dp[i|(1<<k)][k]=min(dp[i|(1<<k)][k],dp[i][j]+mp[j][k]); 
                                                                    ^
0_0_35910183_5153.cpp:53:25: error: 'min' was not declared in this scope
    ans=min(ans,dp[up][i]);
                         ^
0_0_35910183_5153.cpp:55:29: error: 'printf' was not declared in this scope
   if(ans==INF) printf("-1\n");
                             ^
0_0_35910183_5153.cpp:56:25: error: 'printf' was not declared in this scope
   else printf("%d\n",ans);
                         ^


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 22:12:38, Gzip enabled