Borderou de evaluare (job #2702834)

Utilizator retrogradLucian Bicsi retrograd Data 5 februarie 2021 23:55:58
Problema Harbingers Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In member function 'void Hull::Add(ll, ll)': main.cpp:15:12: error: expected unqualified-id before '[' token auto [pp, ap, bp] = stk.back(); ^ main.cpp:16:11: error: 'ap' was not declared in this scope if (ap == a) p = bp > b ? INF : -INF; ^~ main.cpp:16:24: error: 'bp' was not declared in this scope if (ap == a) p = bp > b ? INF : -INF; ^~ main.cpp:17:21: error: 'bp' was not declared in this scope else p = Ceil(bp - b, a - ap); ^~ main.cpp:18:15: error: 'pp' was not declared in this scope if (p > pp) break; ^~ main.cpp: In member function 'll Hull::EvalMax(ll)': main.cpp:26:10: error: expected unqualified-id before '[' token auto [_, a, b] = stk.front(); ^ main.cpp:27:12: error: 'a' was not declared in this scope return a * x + b; ^ main.cpp:27:20: error: 'b' was not declared in this scope return a * x + b; ^ Non zero exit status: 1

Ceva nu functioneaza?