Borderou de evaluare (job #858288)

Utilizator avatar DeakDarius HackerPrime DeakDarius IP ascuns
Problemă Grupe2 (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 19 mar. 2026 20:10:14 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:49:39: warning: comparison of integer expressions of different signedness: 'std::vector<long int>::size_type' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 49 | if(K->second.size() == pq.top().first && K->first == pq.top().second) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:55:39: warning: comparison of integer expressions of different signedness: 'std::vector<long int>::size_type' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 55 | if(K->second.size() == pq.top().first && K->first == pq.top().second ){ | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:54:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 54 | for(map < long , vector<long> > :: iterator K = mp.begin();K!=mp.end();K++) | ^~~ main.cpp:59:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 59 | if(I!=J){ | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 508 kb OK 10
2 1 ms 508 kb OK 10
3 10 ms 292 kb OK 10
4 1 ms 292 kb OK 10
5 1 ms 508 kb OK 10
6 1 ms 292 kb OK 10
7 1 ms 508 kb OK 10
8 2 ms 508 kb OK 10
9 1 ms 292 kb OK 10
10 1 ms 508 kb OK 10
Punctaj total 100