| Problem | sum2 |
|---|---|
| User | Hihihihihi |
| Submission Time | 2026-06-25 09:37:37 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sum2.cpp: In function ‘int main()’:
sum2.cpp:17:8: error: ‘i’ was not declared in this scope; did you mean ‘ai’?
17 | if ([i]>ans) {
| ^
| ai
sum2.cpp: In lambda function:
sum2.cpp:17:10: error: expected ‘{’ before ‘>’ token
17 | if ([i]>ans) {
| ^
sum2.cpp: In function ‘int main()’:
sum2.cpp:17:10: error: no match for ‘operator>’ (operand types are ‘main()::<lambda()>’ and ‘long long int’)
17 | if ([i]>ans) {
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:110,
from sum2.cpp:1:
/usr/include/c++/9/bits/regex.h:1081:5: note: candidate: ‘template<class _BiIter> bool std::__cxx11::operator>(const std::__cxx11::sub_match<_BiIter>&, const std::__cxx11::sub_match<_BiIter>&)’
1081 | operator>(const sub_match<_BiIter>& __lhs, const sub_match<_