Borderou de evaluare (job #614474)

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:27:11 Scor 0

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 11 ms 8781 kb Memory limit exceeded 0
2 17 ms 9699 kb Memory limit exceeded 0
3 13 ms 8650 kb Memory limit exceeded 0
4 14 ms 8912 kb Memory limit exceeded 0
5 14 ms 8912 kb Memory limit exceeded 0
6 14 ms 8912 kb Memory limit exceeded 0
7 14 ms 8650 kb Memory limit exceeded 0
8 23 ms 13369 kb Memory limit exceeded 0
9 17 ms 10088 kb Memory limit exceeded 0
10 22 ms 13365 kb Memory limit exceeded 0
Punctaj total 0