0_0_17200722_21724.cpp:50:13: error: stray '\346' in program
update(tmp,val[i]+1);更新val[i]+1位置,注意tree中保存的是左边小的值,所以在真正求值时需要+1
^
0_0_17200722_21724.cpp:50:13: error: stray '\233' in program
0_0_17200722_21724.cpp:50:13: error: stray '\264' in program
0_0_17200722_21724.cpp:50:13: error: stray '\346' in program
0_0_17200722_21724.cpp:50:13: error: stray '\226' in program
0_0_17200722_21724.cpp:50:13: error: stray '\260' in program
0_0_17200722_21724.cpp:50:13: error: stray '\344' in program
0_0_17200722_21724.cpp:50:13: error: stray '\275' in program
0_0_17200722_21724.cpp:50:13: error: stray '\215' in program
0_0_17200722_21724.cpp:50:13: error: stray '\347' in program
0_0_17200722_21724.cpp:50:13: error: stray '\275' in program
0_0_17200722_21724.cpp:50:13: error: stray '\256' in program
0_0_17200722_21724.cpp:50:13: error: stray '\357' in program
0_0_17200722_21724.cpp:50:13: error: stray '\274' in program
0_0_17200722_21724.cpp:50:13: error: stray '\214' in program
0_0_17200722_21724.cpp:50:13: error: stray '\346' in program
0_0_17200722_21724.cpp:50:13: error: stray '\263' in program
0_0_17200722_21724.cpp:50:13: error: stray '\250' in program
0_0_17200722_21724.cpp:50:13: error: stray '\346' in program
0_0_17200722_21724.cpp:50:13: error: stray '\204' in program
0_0_17200722_21724.cpp:50:13: error: stray '\217' in program
0_0_17200722_21724.cpp:50:13: error: stray '\344' in program
0_0_17200722_21724.cpp:50:13: error: stray '\270' in program
0_0_17200722_21724.cpp:50:13: error: stray '\255' in program
0_0_17200722_21724.cpp:50:13: error: stray '\344' in program
0_0_17200722_21724.cpp:50:13: error: stray '\277' in program
0_0_17200722_21724.cpp:50:13: error: stray '\235' in program
0_0_17200722_21724.cpp:50:13: error: stray '\345' in program
0_0_17200722_21724.cpp:50:13: error: stray '\255' in program
0_0_17200722_21724.cpp:50:13: error: stray '\230' in program
0_0_17200722_21724.cpp:50:13: error: stray '\347' in program
0_0_17200722_21724.cpp:50:13: error: stray '\232' in program
0_0_17200722_21724.cpp:50:13: error: stray '\204' in program
0_0_17200722_21724.cpp:50:13: error: stray '\346' in program
0_0_17200722_21724.cpp:50:13: error: stray '\230' in program
0_0_17200722_21724.cpp:50:13: error: stray '\257' in program
0_0_17200722_21724.cpp:50:13: error: stray '\345' in program
0_0_17200722_21724.cpp:50:13: error: stray '\267' in program
0_0_17200722_21724.cpp:50:13: error: stray '\246' in program
0_0_17200722_21724.cpp:50:13: error: stray '\350' in program
0_0_17200722_21724.cpp:50:13: error: stray '\276' in program
0_0_17200722_21724.cpp:50:13: error: stray '\271' in program
0_0_17200722_21724.cpp:50:13: error: stray '\345' in program
0_0_17200722_21724.cpp:50:13: error: stray '\260' in program
0_0_17200722_21724.cpp:50:13: error: stray '\217' in program
0_0_17200722_21724.cpp:50:13: error: stray '\347' in program
0_0_17200722_21724.cpp:50:13: error: stray '\232' in program
0_0_17200722_21724.cpp:50:13: error: stray '\204' in program
0_0_17200722_21724.cpp:50:13: error: stray '\345' in program
0_0_17200722_21724.cpp:50:13: error: stray '\200' in program
0_0_17200722_21724.cpp:50:13: error: stray '\274' in program
0_0_17200722_21724.cpp:50:13: error: stray '\357' in program
0_0_17200722_21724.cpp:50:13: error: stray '\274' in program
0_0_17200722_21724.cpp:50:13: error: stray '\214' in program
0_0_17200722_21724.cpp:50:13: error: stray '\346' in program
0_0_17200722_21724.cpp:50:13: error: stray '\211' in program
0_0_17200722_21724.cpp:50:13: error: stray '\200' in program
0_0_17200722_21724.cpp:50:13: error: stray '\344' in program
0_0_17200722_21724.cpp:50:13: error: stray '\273' in program
0_0_17200722_21724.cpp:50:13: error: stray '\245' in program
0_0_17200722_21724.cpp:50:13: error: stray '\345' in program
0_0_17200722_21724.cpp:50:13: error: stray '\234' in program
0_0_17200722_21724.cpp:50:13: error: stray '\250' in program
0_0_17200722_21724.cpp:50:13: error: stray '\347' in program
0_0_17200722_21724.cpp:50:13: error: stray '\234' in program
0_0_17200722_21724.cpp:50:13: error: stray '\237' in program
0_0_17200722_21724.cpp:50:13: error: stray '\346' in program
0_0_17200722_21724.cpp:50:13: error: stray '\255' in program
0_0_17200722_21724.cpp:50:13: error: stray '\243' in program
0_0_17200722_21724.cpp:50:13: error: stray '\346' in program
0_0_17200722_21724.cpp:50:13: error: stray '\261' in program
0_0_17200722_21724.cpp:50:13: error: stray '\202' in program
0_0_17200722_21724.cpp:50:13: error: stray '\345' in program
0_0_17200722_21724.cpp:50:13: error: stray '\200' in program
0_0_17200722_21724.cpp:50:13: error: stray '\274' in program
0_0_17200722_21724.cpp:50:13: error: stray '\346' in program
0_0_17200722_21724.cpp:50:13: error: stray '\227' in program
0_0_17200722_21724.cpp:50:13: error: stray '\266' in program
0_0_17200722_21724.cpp:50:13: error: stray '\351' in program
0_0_17200722_21724.cpp:50:13: error: stray '\234' in program
0_0_17200722_21724.cpp:50:13: error: stray '\200' in program
0_0_17200722_21724.cpp:50:13: error: stray '\350' in program
0_0_17200722_21724.cpp:50:13: error: stray '\246' in program
0_0_17200722_21724.cpp:50:13: error: stray '\201' in program
0_0_17200722_21724.cpp:55:2: error: stray '#' in program
}#include <cstdlib>
^
0_0_17200722_21724.cpp: In function 'int main()':
0_0_17200722_21724.cpp:50:63: error: expected ';' before 'tree'
update(tmp,val[i]+1);更新val[i]+1位置,注意tree中保存的是左边小的值,所以在真正求值时需要+1
^
0_0_17200722_21724.cpp: At global scope:
0_0_17200722_21724.cpp:55:3: error: 'include' does not name a type
}#include <cstdlib>
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:60:0,
from 0_0_17200722_21724.cpp:58:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:147:18: error: '__aligned_buffer' in namespace '__gnu_cxx' does not name a template type
__gnu_cxx::__aligned_buffer<_Val> _M_storage;
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h: In member function '_Val* std::_Rb_tree_node<_Val>::_M_valptr()':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:151:16: error: '_M_storage' was not declared in this scope
{ return _M_storage._M_ptr(); }
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h: In member function 'const _Val* std::_Rb_tree_node<_Val>::_M_valptr() const':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:155:16: error: '_M_storage' was not declared in this scope
{ return _M_storage._M_ptr(); }
^
0_0_17200722_21724.cpp: In function 'int lowbit(int)':
0_0_17200722_21724.cpp:66:12: error: redefinition of 'int lowbit(int)'
inline int lowbit(int x)
^
0_0_17200722_21724.cpp:13:5: note: 'int lowbit(int)' previously defined here
int lowbit(int x){
^
0_0_17200722_21724.cpp: In function 'void update(int, int)':
0_0_17200722_21724.cpp:72:13: error: redefinition of 'void update(int, int)'
inline void update(int pos, int val)
^
0_0_17200722_21724.cpp:17:6: note: 'void update(int, int)' previously defined here
void update(int i,int x){
^
0_0_17200722_21724.cpp: In function 'int main()':
0_0_17200722_21724.cpp:94:5: error: redefinition of 'int main()'
int main()
^
0_0_17200722_21724.cpp:35:5: note: 'int main()' previously defined here
int main(){
^
0_0_17200722_21724.cpp: At global scope:
0_0_17200722_21724.cpp:148:13: error: redefinition of 'int num [500005]'
int num[MAXN], A[MAXN], c[MAXN], seq[MAXN], cnt;
^
0_0_17200722_21724.cpp:64:5: note: 'int num [500005]' previously declared here
int num[MAXN], A[MAXN], c[MAXN], seq[MAXN], cnt;
^
0_0_17200722_21724.cpp:148:22: error: redefinition of 'int A [500005]'
int num[MAXN], A[MAXN], c[MAXN], seq[MAXN], cnt;
^
0_0_17200722_21724.cpp:64:16: note: 'int A [500005]' previously declared here
int num[MAXN], A[MAXN], c[MAXN], seq[MAXN], cnt;
^
0_0_17200722_21724.cpp:148:31: error: redefinition of 'int c [500005]'
int num[MAXN], A[MAXN], c[MAXN], seq[MAXN], cnt;
^
0_0_17200722_21724.cpp:64:25: note: 'int c [500005]' previously declared here
int num[MAXN], A[MAXN], c[MAXN], seq[MAXN], cnt;
^
0_0_17200722_21724.cpp:148:42: error: redefinition of 'int seq [500005]'
int num[MAXN], A[MAXN], c[MAXN], seq[MAXN], cnt;
^
0_0_17200722_21724.cpp:64:34: note: 'int seq [500005]' previously declared here
int num[MAXN], A[MAXN], c[MAXN], seq[MAXN], cnt;
^
0_0_17200722_21724.cpp:148:45: error: redefinition of 'int cnt'
int num[MAXN], A[MAXN], c[MAXN], seq[MAXN], cnt;
^
0_0_17200722_21724.cpp:64:45: note: 'int cnt' previously declared here
int num[MAXN], A[MAXN], c[MAXN], seq[MAXN], cnt;
|