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_26000629_3340.cpp: In function 'int main()':
0_0_26000629_3340.cpp:19:15: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
         read(a), read(b), read(c), read(aa), read(bb), read(cc);
               ^
0_0_26000629_3340.cpp:9:6: note: in passing argument 1 of 'void read(int&)'
 void read(int &x){
      ^
0_0_26000629_3340.cpp:19:24: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
         read(a), read(b), read(c), read(aa), read(bb), read(cc);
                        ^
0_0_26000629_3340.cpp:9:6: note: in passing argument 1 of 'void read(int&)'
 void read(int &x){
      ^
0_0_26000629_3340.cpp:19:33: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
         read(a), read(b), read(c), read(aa), read(bb), read(cc);
                                 ^
0_0_26000629_3340.cpp:9:6: note: in passing argument 1 of 'void read(int&)'
 void read(int &x){
      ^
0_0_26000629_3340.cpp:19:43: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
         read(a), read(b), read(c), read(aa), read(bb), read(cc);
                                           ^
0_0_26000629_3340.cpp:9:6: note: in passing argument 1 of 'void read(int&)'
 void read(int &x){
      ^
0_0_26000629_3340.cpp:19:53: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
         read(a), read(b), read(c), read(aa), read(bb), read(cc);
                                                     ^
0_0_26000629_3340.cpp:9:6: note: in passing argument 1 of 'void read(int&)'
 void read(int &x){
      ^
0_0_26000629_3340.cpp:19:63: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
         read(a), read(b), read(c), read(aa), read(bb), read(cc);
                                                               ^
0_0_26000629_3340.cpp:9:6: note: in passing argument 1 of 'void read(int&)'
 void read(int &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 21:46:57, Gzip enabled