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_32867730_661.cpp:1:7: error: stray '#' in program
 <code>#include<bits/stdc++.h>
       ^
0_0_32867730_661.cpp:1:1: error: expected unqualified-id before '<' token
 <code>#include<bits/stdc++.h>
 ^
0_0_32867730_661.cpp:7:1: error: 'vector' does not name a type
 vector<int>G[M];
 ^
0_0_32867730_661.cpp: In function 'void reserve(int)':
0_0_32867730_661.cpp:25:15: error: 'swap' was not declared in this scope
     swap(ls,rs),rev[x]^=1;
               ^
0_0_32867730_661.cpp: In function 'int main()':
0_0_32867730_661.cpp:80:13: error: 'G' was not declared in this scope
             G[j].push_back(i);
             ^
0_0_32867730_661.cpp:89:19: error: 'G' was not declared in this scope
         for(int j=G[u].size()-2; j>=0; j--) {
                   ^
0_0_32867730_661.cpp:108:25: error: 'scanf' was not declared in this scope
     while(~scanf("%d",&n))printf("%lld\n",Ans[n]);
                         ^
0_0_32867730_661.cpp:108:49: error: 'printf' was not declared in this scope
     while(~scanf("%d",&n))printf("%lld\n",Ans[n]);
                                                 ^


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-06-14 10:41:30, Gzip enabled