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_39664084_337.cpp:58:6: error: redefinition of 'void init(long long int)'
   58 | void init(int n=3000){
      |      ^~~~
0_0_39664084_337.cpp:37:6: note: 'void init(long long int)' previously defined here
   37 | void init(int n){
      |      ^~~~
0_0_39664084_337.cpp: In function 'int main()':
0_0_39664084_337.cpp:94:13: error: too few arguments to function 'void init(long long int)'
   94 |         init();
      |         ~~~~^~
0_0_39664084_337.cpp:37:6: note: declared here
   37 | void init(int n){
      |      ^~~~


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-22 05:26:40, Gzip enabled