Borderou de evaluare (job #614479)

Utilizator avatar teodor2017 Togan Teodor-Bogdan teodor2017 IP ascuns
Problemă Dictionar Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 5 nov. 2021 19:40:59 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:55:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 55 | while(j < has[cod].size()){ | ~~^~~~~~~~~~~~~~~~~ main.cpp:57:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 57 | while((ind < cuv[has[cod][j]].size()) && (posrep[ind] != 0) && (cuv[has[cod][j]][ind] == posrep[ind])){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:60:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 60 | if((ind == cuv[has[cod][j]].size()) && (posrep[ind] == 0)){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:38:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | fscanf(fin, "%d\n", &n); | ~~~~~~^~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 9 ms 2228 kb Bravo! 10
2 1 ms 2093 kb Bravo! 10
3 1 ms 2097 kb Bravo! 10
4 1 ms 2097 kb Bravo! 10
5 8 ms 2490 kb Bravo! 10
6 18 ms 2748 kb Bravo! 10
7 38 ms 3276 kb Bravo! 10
8 48 ms 3796 kb Bravo! 10
9 65 ms 3923 kb Bravo! 10
10 67 ms 4055 kb Bravo! 10
Punctaj total 100