secret.cpp: In function 'int query(int, int, int, int, int)':
secret.cpp:35:33: error: reference to 'identity' is ambiguous
35 | if(rg < ql || qr < lf) return identity;
| ^~~~~~~~
In file included from /usr/include/c++/13/bits/iterator_concepts.h:38,
from /usr/include/c++/13/bits/stl_iterator_base_types.h:71,
from /usr/include/c++/13/bits/stl_algobase.h:65,
from /usr/include/c++/13/algorithm:60,
from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:51,
from secret.cpp:2:
/usr/include/c++/13/bits/ranges_cmp.h:47:10: note: candidates are: 'struct std::identity'
47 | struct identity
| ^~~~~~~~
secret.cpp:16:5: note: 'int identity'
16 | int identity;
| ^~~~~~~~
secret.cpp: In function 'void Init(int, int*)':
secret.cpp:44:35: error: reference to 'identity' is ambiguous
44 | if(Secret(123456, 0) == 123456) identity = 0;
| ^~~~~~~~
/usr/include/c++/13/bits/ranges_cmp.h:47:10: note: candidates are: 'struct std::identity'
47 | struct identity
| ^~~~~~~~
secret.cpp:16:5: note: 'int identity'
16 | int identity;
| ^~~~~~~~
secret.cpp:45:8: error: reference to 'identity' is ambiguous
45 | else identity = 1;
| ^~~~~~~~
/usr/include/c++/13/bits/ranges_cmp.h:47:10: note: candidates are: 'struct std::identity'
47 | struct identity
| ^~~~~~~~
secret.cpp:16:5: note: 'int identity'
16 | int identity;
| ^~~~~~~~