Borderou de evaluare (job #3131671)

Utilizator TheAndreiEnache Andrei Alexandru TheAndrei Data 21 mai 2023 00:27:58
Problema Infinitywar 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:26:10: error: 'i' was not declared in this scope 26 | for (i=0; i<n; i++){ | ^ main.cpp:29:14: error: 'j' was not declared in this scope 29 | for (j=0; j<k; j++) | ^ main.cpp:42:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 42 | while (last[j] < v[j].size() and v[j][last[j]] <= i){ | ~~~~~~~~^~~~~~~~~~~~~ main.cpp:49:14: error: 'j' was not declared in this scope 49 | for (j=0; j<q; j++){ | ^ Non zero exit status: 1

Ceva nu functioneaza?