0_0_33858710_22198.cpp:24:9: error: 'MAXN' was not declared in this scope
int rec[MAXN];
^
0_0_33858710_22198.cpp: In function 'void change(Complex*, int)':
0_0_33858710_22198.cpp:30:5: error: 'rev' was not declared in this scope
rev[i] = rev[i >> 1] >> 1;
^
0_0_33858710_22198.cpp:36:13: error: 'rev' was not declared in this scope
if (i < rev[i]) { // 保证每对数只翻转一次
^
0_0_33858710_22198.cpp:37:27: error: 'swap' was not declared in this scope
swap(y[i], y[rev[i]]);
^
0_0_33858710_22198.cpp:37:27: note: suggested alternatives:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_33858710_22198.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2736:5: note: 'std::swap'
swap(basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/exception:162:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_33858710_22198.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/exception_ptr.h:160:5: note: 'std::__exception_ptr::swap'
swap(exception_ptr& __lhs, exception_ptr& __rhs)
^
|