Borderou de evaluare (job #859659)

Utilizator avatar robertb Bucur Robert robertb IP ascuns
Problemă Băcan Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 30 apr. 2026 09:08:11 Scor 100

Raport evaluator

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