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_29572227_5210.cpp: In function 'void fft(Complex*, int, int)':
0_0_29572227_5210.cpp:66:35: error: no matching function for call to 'Complex::Complex()'
             Complex w ( 1 , 0 ) , t ;
                                   ^
0_0_29572227_5210.cpp:66:35: note: candidates are:
0_0_29572227_5210.cpp:42:5: note: Complex::Complex(double, double)
     Complex(double _r,double _i):r(_r),i(_i){}
     ^
0_0_29572227_5210.cpp:42:5: note:   candidate expects 2 arguments, 0 provided
0_0_29572227_5210.cpp:39:8: note: constexpr Complex::Complex(const Complex&)
 struct Complex
        ^
0_0_29572227_5210.cpp:39:8: note:   candidate expects 1 argument, 0 provided
0_0_29572227_5210.cpp:39:8: note: constexpr Complex::Complex(Complex&&)
0_0_29572227_5210.cpp:39:8: note:   candidate expects 1 argument, 0 provided
0_0_29572227_5210.cpp: At global scope:
0_0_29572227_5210.cpp:99:19: error: no matching function for call to 'Complex::Complex()'
 Complex x1[max_n*4],x2[max_n*4];
                   ^
0_0_29572227_5210.cpp:99:19: note: candidates are:
0_0_29572227_5210.cpp:42:5: note: Complex::Complex(double, double)
     Complex(double _r,double _i):r(_r),i(_i){}
     ^
0_0_29572227_5210.cpp:42:5: note:   candidate expects 2 arguments, 0 provided
0_0_29572227_5210.cpp:39:8: note: constexpr Complex::Complex(const Complex&)
 struct Complex
        ^
0_0_29572227_5210.cpp:39:8: note:   candidate expects 1 argument, 0 provided
0_0_29572227_5210.cpp:39:8: note: constexpr Complex::Complex(Complex&&)
0_0_29572227_5210.cpp:39:8: note:   candidate expects 1 argument, 0 provided
0_0_29572227_5210.cpp:99:31: error: no matching function for call to 'Complex::Complex()'
 Complex x1[max_n*4],x2[max_n*4];
                               ^
0_0_29572227_5210.cpp:99:31: note: candidates are:
0_0_29572227_5210.cpp:42:5: note: Complex::Complex(double, double)
     Complex(double _r,double _i):r(_r),i(_i){}
     ^
0_0_29572227_5210.cpp:42:5: note:   candidate expects 2 arguments, 0 provided
0_0_29572227_5210.cpp:39:8: note: constexpr Complex::Complex(const Complex&)
 struct Complex
        ^
0_0_29572227_5210.cpp:39:8: note:   candidate expects 1 argument, 0 provided
0_0_29572227_5210.cpp:39:8: note: constexpr Complex::Complex(Complex&&)
0_0_29572227_5210.cpp:39:8: note:   candidate expects 1 argument, 0 provided


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-11 01:44:30, Gzip enabled