Borderou de evaluare (job #819873)

Utilizator avatar mihaigeorgescu Georgescu Mihai mihaigeorgescu IP ascuns
Problemă Subsecvență de produs maxim Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 9 apr. 2025 19:09:37 Scor 30

Raport evaluator

Compilare: main.cpp: In function 'nr_mare produs(nr_mare, int)': main.cpp:69:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 69 | for(int i=0; i<x.v.size() || t>0; i++) | ~^~~~~~~~~~~ main.cpp:72:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 72 | if(i<x.v.size()) cif=x.v[i]; else cif=0; | ~^~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb OK 10
3 1 ms 245 kb Incorect 0
4 1 ms 507 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 512 kb OK 10
7 9 ms 249 kb Incorect 0
8 9 ms 270 kb Incorect 0
9 29 ms 507 kb Incorect 0
10 29 ms 499 kb OK 10
Punctaj total 30