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_19104707_12087.cpp: In function 'int main()':
0_0_19104707_12087.cpp:14:20: error: could not convert 'read((* & a))' from 'void' to 'bool'
         if (!read(a)) break; read(b);read(c);read(d);read(n);
                    ^
0_0_19104707_12087.cpp:14:20: error: in argument to unary !
0_0_19104707_12087.cpp:14:60: error: invalid initialization of reference of type 'LL& {aka long long int&}' from expression of type 'int'
         if (!read(a)) break; read(b);read(c);read(d);read(n);
                                                            ^
0_0_19104707_12087.cpp:8:25: note: in passing argument 1 of 'void read(LL&)'
 char B[1<<26],*S=B;void read(LL &res){register LL 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:46, Gzip enabled