Borderou de evaluare (job #2211086)

Utilizator Vlad_ConstantinVlad Constantin Vlad_Constantin Data 9 iunie 2018 12:57:58
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(i=1;i<=n-1;i++) ^~~ user.cpp:46:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ if(v[i].y==v[i+1].y&&v[i].x>v[i+1].x) ^~ user.cpp:30:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("infasuratoare.in","r",stdin); ^ user.cpp:31:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("infasuratoare.out","w",stdout); ^ user.cpp:33:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:35:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf", &v[i].x, &v[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms5420kbNumar de puncte incorect0
20ms5416kbNumar de puncte incorect0
3Depăşit3364kbTime limit exceeded.0
4Depăşit3368kbTime limit exceeded.0
5Depăşit3368kbTime limit exceeded.0
6Depăşit3840kbTime limit exceeded.0
7Depăşit3836kbTime limit exceeded.0
8Depăşit3840kbTime limit exceeded.0
9Depăşit3840kbTime limit exceeded.0
10Depăşit3836kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?