Pagini recente » Borderou de evaluare (job #916162) | Borderou de evaluare (job #2830558) | Borderou de evaluare (job #775353) | Borderou de evaluare (job #2182325) | Borderou de evaluare (job #1402784)
Borderou de evaluare (job #1402784)
Raport evaluator
Compilare:
user.cpp: In function ‘bool bellmanFord()’:
user.cpp:118:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
vis[i] = dad[i] = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:175: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:176: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:179:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:181: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:183: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 | 516kb | Corect! | 5 |
2 | 0ms | 644kb | Corect! | 5 |
3 | 0ms | 1144kb | Corect! | 5 |
4 | 8ms | 1952kb | Corect! | 5 |
5 | 12ms | 2372kb | Corect! | 5 |
6 | 16ms | 3096kb | Corect! | 5 |
7 | 28ms | 3732kb | Corect! | 5 |
8 | 60ms | 4684kb | Corect! | 5 |
9 | 92ms | 5444kb | Corect! | 5 |
10 | 112ms | 6156kb | Corect! | 5 |
11 | 216ms | 7608kb | Corect! | 5 |
12 | 236ms | 7600kb | Corect! | 5 |
13 | 304ms | 8476kb | Corect! | 5 |
14 | 452ms | 9064kb | Corect! | 5 |
15 | Depăşit | 10028kb | Time limit exceeded. | 0 |
16 | 624ms | 10496kb | Corect! | 5 |
17 | Depăşit | 11320kb | Time limit exceeded. | 0 |
18 | 608ms | 11896kb | Corect! | 5 |
19 | Depăşit | 11864kb | Time limit exceeded. | 0 |
20 | 580ms | 11896kb | Corect! | 5 |
Punctaj total | 85 |