Borderou de evaluare (job #2890459)

Utilizator avethegamerAveTheGamer avethegamer Data 15 aprilie 2022 17:11:28
Problema Secventa 5 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int nrSecv(int, std::vector<unsigned int>)': main.cpp:11:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<unsigned int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 11 | for (int i=0;i<v.size();i++) | ~^~~~~~~~~ main.cpp:14:25: warning: comparison of integer expressions of different signedness: 'std::unordered_map<unsigned int, int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 14 | while(map.size()>D){ | ~~~~~~~~~~^~ main.cpp: In function 'int main()': main.cpp:30:9: warning: unused variable 'same' [-Wunused-variable] 30 | int same = 0, distinct = 0, sol = 0; | ^~~~ main.cpp:30:19: warning: unused variable 'distinct' [-Wunused-variable] 30 | int same = 0, distinct = 0, sol = 0; | ^~~~~~~~ main.cpp:30:33: warning: unused variable 'sol' [-Wunused-variable] 30 | int same = 0, distinct = 0, sol = 0; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbIncorect0
22ms274kbIncorect0
313ms438kbIncorect0
413ms876kbIncorect0
559ms1613kbIncorect0
633ms3575kbIncorect0
7108ms8871kbIncorect0
8131ms9977kbIncorect0
9160ms12374kbIncorect0
101803ms21413kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?