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_22150987_32122.cpp: In function 'int main()':
0_0_22150987_32122.cpp:34:9: error: 'sf' was not declared in this scope
     sf(T);
         ^
0_0_22150987_32122.cpp:37:16: error: 'sf2' was not declared in this scope
         sf2(n,V);
                ^
0_0_22150987_32122.cpp:39:13: error: 'fr' was not declared in this scope
         fr(n) sf(node[i].a);
             ^
0_0_22150987_32122.cpp:47:18: error: 'pf' was not declared in this scope
             pf(-1);
                  ^
0_0_22150987_32122.cpp:50:29: error: 'sort' was not declared in this scope
         sort(node,node+n,cmp);
                             ^
0_0_22150987_32122.cpp:50:29: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
                 from 0_0_22150987_32122.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4705:5: note:   'std::sort'
     sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-18 17:04:44, Gzip enabled