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_31080342_19708.cpp: In function 'void divide(int, int, int)':
0_0_31080342_19708.cpp:25:14: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator*'
 #define BASE 10000
              ^
0_0_31080342_19708.cpp:37:17: note: in expansion of macro 'BASE'
         div=div*BASE+a[num][i];
                 ^
0_0_31080342_19708.cpp:38:23: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator/'
         a[num][i]=div/b;
                       ^
0_0_31080342_19708.cpp:39:12: error: overloaded function with no contextual type information
         div%=b;
            ^


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-09-28 08:23:37, Gzip enabled