Borderou de evaluare (job #3005044)

Utilizator bent_larsenSturzu Antonio-Gabriel bent_larsen Data 16 martie 2023 19:03:12
Problema Cpal Status done
Runda Arhiva Monthly Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int solve(const std::vector<int>&)': main.cpp:9:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 9 | for(int i = 0;i < v.size();++i) | ~~^~~~~~~~~~ main.cpp:12:28: error: expected primary-expression before '=' token 12 | not_zero ||= v[i] > 0; | ^ Non zero exit status: 1

Ceva nu functioneaza?