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_36585885_8723.cpp:101:5: error: expected '}' at end of input
     }
     ^
0_0_36585885_8723.cpp: In member function 'gjd gjd::operator/(const gjd&) const':
0_0_36585885_8723.cpp:87:34: error: cannot convert 'const gjd' to 'const void*' for argument '1' to 'void* bsearch(const void*, const void*, size_t, size_t, int (*)(const void*, const void*))'
             c.s[i] = bsearch(b, m);
                                  ^
0_0_36585885_8723.cpp:88:6: error: no match for 'operator-=' (operand types are 'gjd' and 'gjd')
    m -= b*c.s[i];
      ^
0_0_36585885_8723.cpp: In member function 'gjd gjd::operator%(const gjd&) const':
0_0_36585885_8723.cpp:97:34: error: cannot convert 'const gjd' to 'const void*' for argument '1' to 'void* bsearch(const void*, const void*, size_t, size_t, int (*)(const void*, const void*))'
             c.s[i] = bsearch(b, m);
                                  ^
0_0_36585885_8723.cpp:98:15: error: no match for 'operator-=' (operand types are 'gjd' and 'gjd')
             m -= b*c.s[i];
               ^
0_0_36585885_8723.cpp: At global scope:
0_0_36585885_8723.cpp:101:5: error: expected unqualified-id at end of input
     }
     ^


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-23 04:44:23, Gzip enabled