Borderou de evaluare (job #3133190)

Utilizator AlexandruBenescuAlexandru Benescu AlexandruBenescu Data 25 mai 2023 12:16:43
Problema A+B Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:7:25: error: 'vector' has not been declared 7 | int maxTwoSubArrays(vector<int> &nums) { | ^~~~~~ main.cpp:7:31: error: expected ',' or '...' before '<' token 7 | int maxTwoSubArrays(vector<int> &nums) { | ^ main.cpp: In member function 'int Solution::maxTwoSubArrays(int)': main.cpp:9:17: error: 'nums' was not declared in this scope 9 | int n = nums.size(); | ^~~~ main.cpp:36:19: error: 'max' was not declared in this scope; did you mean 'mx'? 36 | ans = max(ans, mx1[i] + mx2[i + 1]); | ^~~ | mx Non zero exit status: 1

Ceva nu functioneaza?