Borderou de evaluare (job #1402770)

Utilizator smaraldaSmaranda Dinu smaralda Data 26 martie 2015 20:16:20
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:126: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:182: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:183: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:186:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:188: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:190: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
20ms640kbCorect!5
30ms1144kbSuma minima gresita2
4Depăşit1876kbTime limit exceeded.0
5Depăşit2308kbTime limit exceeded.0
6Depăşit3028kbTime limit exceeded.0
7Depăşit3656kbTime limit exceeded.0
8Depăşit4612kbTime limit exceeded.0
9Depăşit5364kbTime limit exceeded.0
10Depăşit6072kbTime limit exceeded.0
11Depăşit7520kbTime limit exceeded.0
12Depăşit7520kbTime limit exceeded.0
13Depăşit8376kbTime limit exceeded.0
14Depăşit8996kbTime limit exceeded.0
15Depăşit9968kbTime limit exceeded.0
16Depăşit10420kbTime limit exceeded.0
17Depăşit11280kbTime limit exceeded.0
18Depăşit11808kbTime limit exceeded.0
19Depăşit11876kbTime limit exceeded.0
20Depăşit11812kbTime limit exceeded.0
Punctaj total12

Ceva nu functioneaza?