0_0_37734047_5393.cpp:109:11: error: redefinition of 'const int N'
const int N = 3000050;
^
0_0_37734047_5393.cpp:10:11: note: 'const int N' previously defined here
const int N=2e5+5;
^
0_0_37734047_5393.cpp: In function 'long long int read()':
0_0_37734047_5393.cpp:113:11: error: redefinition of 'long long int read()'
inline ll read() {ll x = 0, z = 1;char c = getchar();while (!isdigit(c)) {if (c == '-')z = -1;c = getchar();}while (isdigit(c)) {x = (x << 1) + (x << 3) + (c ^ 48);c = getchar();}return z * x;}
^
0_0_37734047_5393.cpp:8:11: note: 'long long int read()' previously defined here
inline ll read() {ll x = 0, z = 1;char c = getchar();while (!isdigit(c)) {if (c == '-')z = -1;c = getchar();}while (isdigit(c)) {x = (x << 1) + (x << 3) + (c ^ 48);c = getchar();}return z * x;}
^
0_0_37734047_5393.cpp: In function 'void writ(long long int)':
0_0_37734047_5393.cpp:114:13: error: redefinition of 'void writ(long long int)'
inline void writ(ll x){if(x<0) {putchar('-');x=(~x)+1;}if(x>9)writ(x/10);putchar(x-x/10*10+48);}
^
0_0_37734047_5393.cpp:9:13: note: 'void writ(long long int)' previously defined here
inline void writ(ll x){if(x<0) {putchar('-');x=(~x)+1;}if(x>9)writ(x/10);putchar(x-x/10*10+48);}
^
0_0_37734047_5393.cpp: In function 'void insert(std::string)':
0_0_37734047_5393.cpp:134:6: error: reference to 'end' is ambiguous
if(end[p])
^
0_0_37734047_5393.cpp:110:24: note: candidates are: int end [200005]
int trie[N][11],vis[N],end[N],flag=1;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94:0,
from 0_0_37734047_5393.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1226:5: note: template<class _Tp> const _Tp* std::end(const std::valarray<_Tp>&)
end(const valarray<_Tp>& __va)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1216:5: note: template<class _Tp> _Tp* std::end(std::valarray<_Tp>&)
end(valarray<_Tp>& __va)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:42:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
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++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_37734047_5393.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:51: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++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_37734047_5393.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:97:5: note: template<class _Tp, long long unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
end(_Tp (&__arr)[_Nm])
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:78:5: note: template<class _Container> decltype (__cont.end()) std::end(const _Container&)
end(const _Container& __cont) -> decltype(__cont.end())
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:68:5: note: template<class _Container> decltype (__cont.end()) std::end(_Container&)
end(_Container& __cont) -> decltype(__cont.end())
^
0_0_37734047_5393.cpp:141:2: error: reference to 'end' is ambiguous
end[p]=1;
^
0_0_37734047_5393.cpp:110:24: note: candidates are: int end [200005]
int trie[N][11],vis[N],end[N],flag=1;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94:0,
from 0_0_37734047_5393.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1226:5: note: template<class _Tp> const _Tp* std::end(const std::valarray<_Tp>&)
end(const valarray<_Tp>& __va)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1216:5: note: template<class _Tp> _Tp* std::end(std::valarray<_Tp>&)
end(valarray<_Tp>& __va)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:42:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
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++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_37734047_5393.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:51: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++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_37734047_5393.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:97:5: note: template<class _Tp, long long unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
end(_Tp (&__arr)[_Nm])
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:78:5: note: template<class _Container> decltype (__cont.end()) std::end(const _Container&)
end(const _Container& __cont) -> decltype(__cont.end())
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:68:5: note: template<class _Container> decltype (__cont.end()) std::end(_Container&)
end(_Container& __cont) -> decltype(__cont.end())
^
0_0_37734047_5393.cpp: In function 'int main()':
0_0_37734047_5393.cpp:157:5: error: redefinition of 'int main()'
int main()
^
0_0_37734047_5393.cpp:12:5: note: 'int main()' previously defined here
int main()
^
0_0_37734047_5393.cpp:166:10: error: reference to 'end' is ambiguous
memset(end,0,sizeof(end));
^
0_0_37734047_5393.cpp:110:24: note: candidates are: int end [200005]
int trie[N][11],vis[N],end[N],flag=1;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94:0,
from 0_0_37734047_5393.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1226:5: note: template<class _Tp> const _Tp* std::end(const std::valarray<_Tp>&)
end(const valarray<_Tp>& __va)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:1216:5: note: template<class _Tp> _Tp* std::end(std::valarray<_Tp>&)
end(valarray<_Tp>& __va)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:42:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from D:/HD
|