Pagini recente » Borderou de evaluare (job #2837993) | Borderou de evaluare (job #932899) | Borderou de evaluare (job #1238291) | Borderou de evaluare (job #1034911) | Borderou de evaluare (job #1402797)
Borderou de evaluare (job #1402797)
Raport evaluator
Compilare:
user.cpp: In function ‘bool bellmanFord()’:
user.cpp:119:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
vis[i] = dad[i] = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:176: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:177: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:180:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:182:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf", &soldat[i].first, &soldat[i].second);
^
user.cpp:184:63: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf", &adapost[i].first, &adapost[i].second);
^
user.cpp: In function ‘double bs(double, double)’:
user.cpp:78:12: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 504kb | Corect! | 5 |
2 | 0ms | 612kb | Corect! | 5 |
3 | 0ms | 1020kb | Corect! | 5 |
4 | 8ms | 1652kb | Corect! | 5 |
5 | 12ms | 1968kb | Corect! | 5 |
6 | 16ms | 2472kb | Corect! | 5 |
7 | 24ms | 2900kb | Corect! | 5 |
8 | 56ms | 3512kb | Corect! | 5 |
9 | 76ms | 4052kb | Corect! | 5 |
10 | 96ms | 4576kb | Corect! | 5 |
11 | 196ms | 5624kb | Corect! | 5 |
12 | 212ms | 5616kb | Corect! | 5 |
13 | 272ms | 6248kb | Corect! | 5 |
14 | 396ms | 6680kb | Corect! | 5 |
15 | 596ms | 7380kb | Corect! | 5 |
16 | 576ms | 7712kb | Corect! | 5 |
17 | Depăşit | 8304kb | Time limit exceeded. | 0 |
18 | 568ms | 8728kb | Corect! | 5 |
19 | Depăşit | 8704kb | Time limit exceeded. | 0 |
20 | 544ms | 8720kb | Corect! | 5 |
Punctaj total | 90 |