Borderou de evaluare (job #2286776)

Utilizator ardutgamerAndrei Bancila ardutgamer Data 20 noiembrie 2018 18:53:28
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:78:29: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'int*' [-Wformat=] scanf("%lf%lf",&x,&y); ^ main.cpp:78:29: warning: format '%lf' expects argument of type 'double*', but argument 3 has type 'int*' [-Wformat=] main.cpp:106:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1 ; i < v.size() ; i++) ~~^~~~~~~~~~ main.cpp:108:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i < v.size()-1 && orientare(start,v[i],v[i+1]) == 0) ~~^~~~~~~~~~~~ main.cpp:114:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i < path.size()) ~~^~~~~~~~~~~~~ main.cpp:126:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<punct>::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n",sol.size()); ^ main.cpp:127:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0 ; i < sol.size() ; i++) ~~^~~~~~~~~~~~ main.cpp:104:9: warning: unused variable 'dim' [-Wunused-variable] int dim = -1; ^~~ main.cpp:70: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); ^ main.cpp:71: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); ^ main.cpp:73:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:78:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbKilled by Signal 110
22ms131kbKilled by Signal 110
335ms782kbKilled by Signal 110
434ms782kbKilled by Signal 110
533ms782kbKilled by Signal 110
6199ms4964kbKilled by Signal 110
7201ms4964kbKilled by Signal 110
8201ms5107kbKilled by Signal 110
9204ms4964kbKilled by Signal 110
10220ms5107kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?