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_25624653_24850.cpp: In function 'int main()':
0_0_25624653_24850.cpp:77:11: error: expected ';' before ')' token
  for(Rd(_));_;--_){
           ^
0_0_25624653_24850.cpp:81:22: error: invalid initialization of non-const reference of type 'int*&' from an rvalue of type 'int*'
   FOR(i,0,n) Rd(&A[i]),Rank[A[i]]=i;
                      ^
0_0_25624653_24850.cpp:16:30: note: in passing argument 1 of 'void Rd(T&) [with T = int*]'
 template<class T>inline void Rd(T &x){
                              ^
0_0_25624653_24850.cpp: In instantiation of 'void Rd(T&) [with T = int*]':
0_0_25624653_24850.cpp:81:22:   required from here
0_0_25624653_24850.cpp:19:35: error: invalid operands of types 'int*' and 'int' to binary 'operator<<'
     for (;c>47;c=Sc()) x=(x<<1)+(x<<3)+(c^48);
                                   ^
0_0_25624653_24850.cpp:19:28: error: invalid operands of types 'int*' and 'int' to binary 'operator<<'
     for (;c>47;c=Sc()) x=(x<<1)+(x<<3)+(c^48);
                            ^


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.015600(s) query 1, Server time : 2024-06-23 09:29:18, Gzip enabled