Problem tickets
User pearl333
Submission Time 2025-11-14 16:37:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

tickets.cpp:5:32: error: multidimensional array must have bounds for all dimensions except the first
5 | int find_maximum(int k, int [][] x) {
| ^
tickets.cpp:5:34: error: expected ‘,’ or ‘...’ before ‘x’
5 | int find_maximum(int k, int [][] x) {
| ^
tickets.cpp: In function ‘long long int find_maximum(long long int)’:
tickets.cpp:7:14: error: ‘x’ was not declared in this scope
7 | for (auto t:x) {
| ^
tickets.cpp:13:2: error: ‘allocate_tickets’ was not declared in this scope
13 | allocate_tickets(s);
| ^~~~~~~~~~~~~~~~