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_39065423_2341.cpp: In function 'long long int _wrk::main()':
0_0_39065423_2341.cpp:42:24: error: no matching function for call to '_wrk::bit::init(int)'
   42 |                 t1.init(100001);t2.init(100001);
      |                 ~~~~~~~^~~~~~~~
0_0_39065423_2341.cpp:12:14: note: candidate: 'void _wrk::bit::init()'
   12 |         void init(){
      |              ^~~~
0_0_39065423_2341.cpp:12:14: note:   candidate expects 0 arguments, 1 provided
0_0_39065423_2341.cpp:42:40: error: no matching function for call to '_wrk::bit::init(int)'
   42 |                 t1.init(100001);t2.init(100001);
      |                                 ~~~~~~~^~~~~~~~
0_0_39065423_2341.cpp:12:14: note: candidate: 'void _wrk::bit::init()'
   12 |         void init(){
      |              ^~~~
0_0_39065423_2341.cpp:12:14: note:   candidate expects 0 arguments, 1 provided
0_0_39065423_2341.cpp:49:24: error: no matching function for call to '_wrk::bit::init(int)'
   49 |                 t1.init(100001);t2.init(100001);
      |                 ~~~~~~~^~~~~~~~
0_0_39065423_2341.cpp:12:14: note: candidate: 'void _wrk::bit::init()'
   12 |         void init(){
      |              ^~~~
0_0_39065423_2341.cpp:12:14: note:   candidate expects 0 arguments, 1 provided
0_0_39065423_2341.cpp:49:40: error: no matching function for call to '_wrk::bit::init(int)'
   49 |                 t1.init(100001);t2.init(100001);
      |                                 ~~~~~~~^~~~~~~~
0_0_39065423_2341.cpp:12:14: note: candidate: 'void _wrk::bit::init()'
   12 |         void init(){
      |              ^~~~
0_0_39065423_2341.cpp:12:14: note:   candidate expects 0 arguments, 1 provided


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-06-26 17:58:03, Gzip enabled