Borderou de evaluare (job #1402776)

Utilizator smaraldaSmaranda Dinu smaralda Data 26 martie 2015 20:27:29
Problema Adapost Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 12

Raport evaluator

Compilare: user.cpp: In function ‘bool bellmanFord()’: user.cpp:128:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] vis[i] = dad[i] = 0; ^ user.cpp: In function ‘std::pair<double, double> read()’: user.cpp:27:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf", &x, &y); ^ user.cpp: In function ‘int main()’: user.cpp:187:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("adapost.in", "r", stdin); ^ user.cpp:188:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("adapost.out", "w", stdout); ^ user.cpp:191:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:193:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf", &soldat[i].x, &soldat[i].y); ^ user.cpp:195:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf", &adapost[i].x, &adapost[i].y); ^ user.cpp: In function ‘double bs(double, double)’: user.cpp:86:12: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized] return last; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms512kbCorect!5
20ms644kbCorect!5
30ms1140kbSuma minima gresita2
4Depăşit1880kbTime limit exceeded.0
5Depăşit2312kbTime limit exceeded.0
6Depăşit3024kbTime limit exceeded.0
7Depăşit3660kbTime limit exceeded.0
8Depăşit4620kbTime limit exceeded.0
9Depăşit5364kbTime limit exceeded.0
10Depăşit6076kbTime limit exceeded.0
11Depăşit7520kbTime limit exceeded.0
12Depăşit7528kbTime limit exceeded.0
13Depăşit8376kbTime limit exceeded.0
14Depăşit8988kbTime limit exceeded.0
15Depăşit9968kbTime limit exceeded.0
16Depăşit10420kbTime limit exceeded.0
17Depăşit11280kbTime limit exceeded.0
18Depăşit11808kbTime limit exceeded.0
19Depăşit11872kbTime limit exceeded.0
20Depăşit11812kbTime limit exceeded.0
Punctaj total12

Ceva nu functioneaza?