Borderou de evaluare (job #2697768)

Utilizator andrei_ciobanuciobanu andrei andrei_ciobanu Data 19 ianuarie 2021 15:50:40
Problema Gradina 3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:24:69: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d", &orchardSize, &treesNumber, &searchedSize); ^ main.cpp:28:44: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &line, &column); ^ main.cpp:47:50: warning: 'maxFound' may be used uninitialized in this function [-Wmaybe-uninitialized] }else if (trees==maxTrees) maxFound++; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK10
23ms262kbOK10
33ms262kbOK10
45ms1310kbOK10
513ms2097kbOK10
612ms2490kbOK10
720ms2883kbOK10
8210ms3362kbOK10
9263ms3764kbOK10
10442ms4177kbOK10
Punctaj total100

Ceva nu functioneaza?