Borderou de evaluare (job #2659639)

Utilizator codruta.miron08Miron Ioana Codruta codruta.miron08 Data 17 octombrie 2020 11:34:29
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void solve1()': main.cpp:46:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(rez1.size() > 1 && det(rez1[rez1.size() - 2],rez1[rez1.size() - 1], a[i]) < 0) ^~ main.cpp:48:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' rez1.push_back(a[i]); ^~~~ main.cpp: In function 'void afisare()': main.cpp:66:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( int i = 0; i < rez1.size() - 1 ;i++) ~~^~~~~~~~~~~~~~~~~ main.cpp:66:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( int i = 0; i < rez1.size() - 1 ;i++) ^~~ main.cpp:68:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for( int i = 0; i < rez2.size() - 1 ;i++) ^~~ main.cpp:68:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( int i = 0; i < rez2.size() - 1 ;i++) ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'bool cmp(punct, punct)': main.cpp:28:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbNumar de puncte incorect0
23ms131kbNumar de puncte incorect0
393ms1048kbNumar de puncte incorect0
491ms1048kbNumar de puncte incorect0
595ms1048kbNumar de puncte incorect0
6500ms8110kbTime limit exceeded0
7502ms7585kbTime limit exceeded0
8501ms7454kbTime limit exceeded0
9500ms7454kbTime limit exceeded0
10502ms7454kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?