Borderou de evaluare (job #1402773)

Utilizator smaraldaSmaranda Dinu smaralda Data 26 martie 2015 20:18:23
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:127: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:183: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:184: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:187:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:189: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:191: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
10ms508kbCorect!5
20ms636kbCorect!5
30ms1128kbSuma minima gresita2
4Depăşit1840kbTime limit exceeded.0
5Depăşit2252kbTime limit exceeded.0
6Depăşit2932kbTime limit exceeded.0
7Depăşit3536kbTime limit exceeded.0
8Depăşit4412kbTime limit exceeded.0
9Depăşit5164kbTime limit exceeded.0
10Depăşit5864kbTime limit exceeded.0
11Depăşit7364kbTime limit exceeded.0
12Depăşit7372kbTime limit exceeded.0
13Depăşit8260kbTime limit exceeded.0
14Depăşit8928kbTime limit exceeded.0
15Depăşit9936kbTime limit exceeded.0
16Depăşit10372kbTime limit exceeded.0
17Depăşit11256kbTime limit exceeded.0
18Depăşit11788kbTime limit exceeded.0
19Depăşit11852kbTime limit exceeded.0
20Depăşit11784kbTime limit exceeded.0
Punctaj total12

Ceva nu functioneaza?