Borderou de evaluare (job #2703119)
Utilizator | Data | 7 februarie 2021 12:19:55 | |
---|---|---|---|
Problema | Kinetic | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:72:9: error: expected unqualified-id before '[' token
auto& [t, x, y] = queries[index];
^
main.cpp:72:9: error: expected initializer before '[' token
main.cpp:73:7: error: 'x' was not declared in this scope
if (x > y)
^
main.cpp:73:11: error: 'y' was not declared in this scope
if (x > y)
^
main.cpp:80:10: error: expected unqualified-id before '[' token
auto& [event_time, a, b] = events.back();
^
main.cpp:80:10: error: expected initializer before '[' token
main.cpp:81:8: error: 'event_time' was not declared in this scope
if (event_time > t)
^~~~~~~~~~
main.cpp:81:21: error: 't' was not declared in this scope
if (event_time > t)
^
main.cpp:83:8: error: 'event_time' was not declared in this scope
if (event_time > 0 && pos_of_point[a] <= pos_of_point[b]) {
^~~~~~~~~~
main.cpp:83:40: error: invalid types 'll [510] {aka long long int [510]}[ll [510] {aka long long int [510]}]' for array subscript
if (event_time > 0 && pos_of_point[a] <= pos_of_point[b]) {
^
main.cpp:83:59: error: invalid types 'll [510] {aka long long int [510]}[ll [510] {aka long long int [510]}]' for array subscript
if (event_time > 0 && pos_of_point[a] <= pos_of_point[b]) {
^
main.cpp:84:82: error: invalid types 'll [510] {aka long long int [510]}[ll [510] {aka long long int [510]}]' for array subscript
leftmost_pos_needed_sorting = min(leftmost_pos_needed_sorting, pos_of_point[a]);
^
main.cpp:85:84: error: invalid types 'll [510] {aka long long int [510]}[ll [510] {aka long long int [510]}]' for array subscript
rightmost_pos_needed_sorting = max(rightmost_pos_needed_sorting, pos_of_point[b]);
^
main.cpp:91:17: error: 't' was not declared in this scope
query_time = t;
^
main.cpp:102:48: error: 't' was not declared in this scope
if (pos_of_point_at_time(points_order[mid], t) < x)
^
main.cpp:102:53: error: 'x' was not declared in this scope
if (pos_of_point_at_time(points_order[mid], t) < x)
^
main.cpp:107:46: error: 't' was not declared in this scope
if (pos_of_point_at_time(points_order[st], t) < x)
^
main.cpp:107:51: error: 'x' was not declared in this scope
if (pos_of_point_at_time(points_order[st], t) < x)
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !