Borderou de evaluare (job #859656)

Utilizator avatar Mate.Durla Nerdvana 6 Durla Matei Stefan Mate.Durla IP ascuns
Problemă Băcan Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 30 apr. 2026 09:02:01 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:20:20: warning: loop variable 'p' creates a copy from type 'const std::pair<const std::__cxx11::basic_string<char>, int>' [-Wrange-loop-construct] 20 | for(const auto p:produse){ | ^ main.cpp:20:20: note: use reference type to prevent copying 20 | for(const auto p:produse){ | ^ | & main.cpp:24:20: warning: loop variable 'p' creates a copy from type 'const std::pair<const std::__cxx11::basic_string<char>, int>' [-Wrange-loop-construct] 24 | for(const auto p:produse){ | ^ main.cpp:24:20: note: use reference type to prevent copying 24 | for(const auto p:produse){ | ^ | & main.cpp:8:24: warning: unused variable 'j' [-Wunused-variable] 8 | int n,nrramase=0,i,j; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 252 kb OK 10
2 1 ms 252 kb OK 10
3 1 ms 252 kb OK 10
4 4 ms 248 kb OK 10
5 2 ms 248 kb OK 10
6 6 ms 248 kb OK 10
7 13 ms 248 kb OK 10
8 15 ms 244 kb OK 10
9 29 ms 244 kb OK 10
10 33 ms 236 kb OK 10
Punctaj total 100