| Problem | gecko |
|---|---|
| User | vadar2525 |
| Submission Time | 2026-07-03 13:41:19 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
gecko.cpp: In function ‘int main()’:
gecko.cpp:10:9: error: ‘n’ was not declared in this scope
10 | cin >> n >> w;
| ^
gecko.cpp:19:18: error: invalid types ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type {aka long long int}[long long int]’ for array subscript
19 | a[j] = a[0][j];
| ^
In file included from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from gecko.cpp:1:
/usr/include/c++/9/bits/stl_algobase.h: In instantiation of ‘constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare) [with _Tp = long long int; _Compare = long long int]’:
gecko.cpp:22:55: required from here
/usr/include/c++/9/bits/stl_algobase.h:271:17: error: ‘__comp’ cannot be used as a function
271 | if (__comp(__a,