Problem sana
User Sans12345
Submission Time 2024-12-30 15:25:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sana.cpp: In function ‘void lose()’:
sana.cpp:14:2: error: reference to ‘end’ is ambiguous
14 | end = true;
| ^~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:95,
from sana.cpp:1:
/usr/include/c++/9/valarray:1244:5: note: candidates are: ‘template<class _Tp> const _Tp* std::end(const std::valarray<_Tp>&)’
1244 | end(const valarray<_Tp>& __va)
| ^~~
/usr/include/c++/9/valarray:1234:5: note: ‘template<class _Tp> _Tp* std::end(std::valarray<_Tp>&)’
1234 | end(valarray<_Tp>& __va)
| ^~~
In file included from /usr/include/c++/9/string:54,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/s