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_19104699_7763.cpp: In function 'int main()':
0_0_19104699_7763.cpp:14:20: error: invalid initialization of reference of type 'int&' from expression of type 'LL {aka long long int}'
         if (!read(a)) break; read(b);read(c);read(d);read(n);
                    ^
0_0_19104699_7763.cpp:8:25: note: in passing argument 1 of 'void read(int&)'
 char B[1<<26],*S=B;void read(int &res){register int x,b;for(;*S<'-';S++);for(*S!='-'?x=*S++-'0',b=1:(S++,x=b=0);*S>='0';x=(x<<3)+(x<<1)+*S++-'0');res=b?x:-x;}
                         ^
0_0_19104699_7763.cpp:14:36: error: invalid initialization of reference of type 'int&' from expression of type 'LL {aka long long int}'
         if (!read(a)) break; read(b);read(c);read(d);read(n);
                                    ^
0_0_19104699_7763.cpp:8:25: note: in passing argument 1 of 'void read(int&)'
 char B[1<<26],*S=B;void read(int &res){register int x,b;for(;*S<'-';S++);for(*S!='-'?x=*S++-'0',b=1:(S++,x=b=0);*S>='0';x=(x<<3)+(x<<1)+*S++-'0');res=b?x:-x;}
                         ^
0_0_19104699_7763.cpp:14:44: error: invalid initialization of reference of type 'int&' from expression of type 'LL {aka long long int}'
         if (!read(a)) break; read(b);read(c);read(d);read(n);
                                            ^
0_0_19104699_7763.cpp:8:25: note: in passing argument 1 of 'void read(int&)'
 char B[1<<26],*S=B;void read(int &res){register int x,b;for(;*S<'-';S++);for(*S!='-'?x=*S++-'0',b=1:(S++,x=b=0);*S>='0';x=(x<<3)+(x<<1)+*S++-'0');res=b?x:-x;}
                         ^
0_0_19104699_7763.cpp:14:52: error: invalid initialization of reference of type 'int&' from expression of type 'LL {aka long long int}'
         if (!read(a)) break; read(b);read(c);read(d);read(n);
                                                    ^
0_0_19104699_7763.cpp:8:25: note: in passing argument 1 of 'void read(int&)'
 char B[1<<26],*S=B;void read(int &res){register int x,b;for(;*S<'-';S++);for(*S!='-'?x=*S++-'0',b=1:(S++,x=b=0);*S>='0';x=(x<<3)+(x<<1)+*S++-'0');res=b?x:-x;}
                         ^
0_0_19104699_7763.cpp:18:19: error: invalid initialization of reference of type 'int&' from expression of type 'LL {aka long long int}'
             read(x);read(y);
                   ^
0_0_19104699_7763.cpp:8:25: note: in passing argument 1 of 'void read(int&)'
 char B[1<<26],*S=B;void read(int &res){register int x,b;for(;*S<'-';S++);for(*S!='-'?x=*S++-'0',b=1:(S++,x=b=0);*S>='0';x=(x<<3)+(x<<1)+*S++-'0');res=b?x:-x;}
                         ^
0_0_19104699_7763.cpp:18:27: error: invalid initialization of reference of type 'int&' from expression of type 'LL {aka long long int}'
             read(x);read(y);
                           ^
0_0_19104699_7763.cpp:8:25: note: in passing argument 1 of 'void read(int&)'
 char B[1<<26],*S=B;void read(int &res){register int x,b;for(;*S<'-';S++);for(*S!='-'?x=*S++-'0',b=1:(S++,x=b=0);*S>='0';x=(x<<3)+(x<<1)+*S++-'0');res=b?x:-x;}
                         ^


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-29 09:35:32, Gzip enabled