Borderou de evaluare (job #2953514)

Utilizator LuciBBadea Lucian LuciB Data 11 decembrie 2022 16:54:02
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int findLowestPoint(int)': main.cpp:19:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 19 | for(int i = 0; i < n; i++) | ^~~ main.cpp:24:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 24 | return ind; | ^~~~~~ main.cpp: In function 'int main()': main.cpp:63:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wformat=] 63 | fprintf(fout, "%d\n", hull.size()); | ~^ ~~~~~~~~~~~ | | | | int std::vector<int>::size_type {aka long unsigned int} | %ld main.cpp:64:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 64 | for(int i = 0; i < hull.size(); i++) { | ~~^~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbCorect10
20ms184kbCorect10
38ms479kbCorect10
47ms479kbCorect10
510ms446kbCorect10
678ms1921kbCorect10
780ms1843kbCorect10
880ms1847kbCorect10
977ms1871kbCorect10
1080ms1843kbCorect10
Punctaj total100

Ceva nu functioneaza?