Pagini recente » Borderou de evaluare (job #1063552) | Borderou de evaluare (job #2099577) | Borderou de evaluare (job #2551759) | Borderou de evaluare (job #1066305) | Borderou de evaluare (job #1266147)
Borderou de evaluare (job #1266147)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:21: warning: integer overflow in expression [-Woverflow]
#define INF (1<<31)-1
^
user.cpp:49:32: note: in expansion of macro ‘INF’
for (i=1;i<=N;i++) cost[i]=INF;
^
user.cpp:26:21: warning: integer overflow in expression [-Woverflow]
#define INF (1<<31)-1
^
user.cpp:57:24: note: in expansion of macro ‘INF’
if (cost[nod]==INF) continue;
^
user.cpp:40:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.in","r",stdin);
^
user.cpp:41:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.out","w",stdout);
^
user.cpp:42:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&M);
^
user.cpp:46:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&x,&y,&z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1020kb | Incorect | 0 | 0 |
2 | 0ms | 1020kb | Incorect | 0 | 0 |
3 | 0ms | 1024kb | Incorect | 0 | 0 |
4 | 0ms | 1028kb | Incorect | 0 | 0 |
5 | 0ms | 1048kb | Incorect | 0 | 0 |
6 | 0ms | 1024kb | Incorect | 0 | 0 |
7 | 0ms | 1036kb | Incorect | 0 |
8 | 20ms | 1384kb | Incorect | 0 | 0 |
9 | 40ms | 1748kb | Incorect | 0 |
10 | 0ms | 1040kb | Incorect | 0 |
11 | 32ms | 1644kb | Incorect | 0 | 0 |
12 | 100ms | 2680kb | Incorect | 0 |
13 | 72ms | 2188kb | Incorect | 0 |
14 | 140ms | 3236kb | Incorect | 0 |
15 | 176ms | 3688kb | Incorect | 0 | 0 |
16 | 132ms | 2996kb | Incorect | 0 |
17 | 0ms | 1040kb | Incorect | 0 |
18 | 196ms | 3936kb | Incorect | 0 | 0 |
19 | 236ms | 4596kb | Incorect | 0 |
20 | 0ms | 1052kb | Incorect | 0 |
Punctaj total | 0 |