Borderou de evaluare (job #2380200)

Utilizator Dragne.Andrei11Dragne Andrei Dragne.Andrei11 Data 14 martie 2019 17:57:22
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void infasuratoare(bool, double, double)': main.cpp:32:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<dr.size();i++) ~^~~~~~~~~~ main.cpp:55:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<dr.size();i++) ~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:107:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::deque<std::pair<double, double> >::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n", rasp.size()); ^ main.cpp:108:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<rasp.size();i++) ~^~~~~~~~~~~~ main.cpp:109:56: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=] printf("%d %d\n", rasp[i].first, rasp[i].second); ^ main.cpp:109:56: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=] main.cpp:80:12: warning: unused variable 'm' [-Wunused-variable] int n, m; ^ main.cpp:78:44: 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:79:46: 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:82:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:84: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
12ms131kbNumar de puncte incorect0
22ms131kbNumar de puncte incorect0
331ms786kbKilled by Signal 110
431ms786kbKilled by Signal 110
530ms786kbKilled by Signal 110
6186ms4050kbKilled by Signal 110
7190ms4050kbKilled by Signal 110
8178ms4050kbNumar de puncte incorect0
9183ms4050kbKilled by Signal 110
10180ms4050kbNumar de puncte incorect0
Punctaj total0

Ceva nu functioneaza?