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_13806610_12230.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13806610_12230.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13806610_12230.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13806610_12230.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13806610_12230.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13806610_12230.cpp:6:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13806610_12230.cpp:10:1: error: 'vector' does not name a type
 vector G[N], V[N];
 ^
0_0_13806610_12230.cpp:12:1: error: 'map' does not name a type
 map P;
 ^
0_0_13806610_12230.cpp: In function 'void dfs(int, int, int)':
0_0_13806610_12230.cpp:15:19: error: 'V' was not declared in this scope
  for(int i = (int)V[u].size()-1; i = 0; i--){  
                   ^
0_0_13806610_12230.cpp:17:6: error: 'P' was not declared in this scope
   if(P[v].size()==0){P[v].push_back(u);continue;}
      ^
0_0_13806610_12230.cpp:19:4: error: expected ')' before 'ans'
    ans[u] = P[v][P[v].size()-1];
    ^
0_0_13806610_12230.cpp:20:3: error: 'P' was not declared in this scope
   P[v].push_back(u);
   ^
0_0_13806610_12230.cpp:22:19: error: 'G' was not declared in this scope
  for(int i = (int)G[u].size()-1; i = 0; i--)
                   ^
0_0_13806610_12230.cpp:25:19: error: 'V' was not declared in this scope
  for(int i = (int)V[u].size()-1; i = 0; i--){  
                   ^
0_0_13806610_12230.cpp:27:3: error: 'P' was not declared in this scope
   P[v].erase(P[v].end()-1);
   ^
0_0_13806610_12230.cpp: In function 'void fenjie(int, int)':
0_0_13806610_12230.cpp:31:2: error: 'V' was not declared in this scope
  V[u].clear();
  ^
0_0_13806610_12230.cpp:33:3: error: expected ';' before 'if'
   if(v%prime[j]==0)
   ^
0_0_13806610_12230.cpp:33:3: error: expected primary-expression before 'if'
0_0_13806610_12230.cpp:33:3: error: expected ')' before 'if'
0_0_13806610_12230.cpp: In function 'void input()':
0_0_13806610_12230.cpp:42:3: error: expected ';' before 'scanf'
   scanf("%d",&v);
   ^
0_0_13806610_12230.cpp:42:16: error: 'scanf' was not declared in this scope
   scanf("%d",&v);
                ^
0_0_13806610_12230.cpp:42:17: error: expected ')' before ';' token
   scanf("%d",&v);
                 ^
0_0_13806610_12230.cpp:43:3: error: 'G' was not declared in this scope
   G[i].clear();
   ^
0_0_13806610_12230.cpp:43:5: error: 'i' was not declared in this scope
   G[i].clear();
     ^
0_0_13806610_12230.cpp:44:13: error: 'v' was not declared in this scope
   fenjie(i, v);
             ^
0_0_13806610_12230.cpp: At global scope:
0_0_13806610_12230.cpp:46:2: error: expected unqualified-id before 'for'
  for(int u, v, i = 1; i 
  ^
0_0_13806610_12230.cpp:46:23: error: 'i' does not name a type
  for(int u, v, i = 1; i 
                       ^
0_0_13806610_12230.cpp:48:3: error: 'G' does not name a type
   G[u].push_back(v);
   ^
0_0_13806610_12230.cpp:49:3: error: 'G' does not name a type
   G[v].push_back(u);
   ^
0_0_13806610_12230.cpp:50:2: 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-23 01:17:46, Gzip enabled