Borderou de evaluare (job #613891)

Utilizator avatar raresmihai Iordache Rares Mihai raresmihai IP ascuns
Problemă Dictionar Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 2 nov. 2021 18:14:36 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:116:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 116 | fscanf(fin, "%d", &n); | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:112:42: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 112 | words_in_order[nr_words][lenght - 1] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ main.cpp:10:6: note: at offset 0 to object 'words_in_order' with size 220000 declared here 10 | char words_in_order[MAX_WORDS][MAX_WORD_LENGHT + 1]; | ^~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 913 kb Bravo! 10
2 1 ms 917 kb Bravo! 10
3 2 ms 913 kb Bravo! 10
4 1 ms 917 kb Bravo! 10
5 1 ms 1044 kb Bravo! 10
6 1 ms 1048 kb Bravo! 10
7 21 ms 1306 kb Bravo! 10
8 35 ms 1568 kb Bravo! 10
9 39 ms 1703 kb Bravo! 10
10 40 ms 1703 kb Bravo! 10
Punctaj total 100