Pagini recente » Borderou de evaluare (job #2165332) | Borderou de evaluare (job #3220715) | Borderou de evaluare (job #257561) | Borderou de evaluare (job #1394409) | Borderou de evaluare (job #1266145)
Borderou de evaluare (job #1266145)
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:36: note: in expansion of macro ‘INF’
for (int 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 | 1012kb | Incorect | 0 | 0 |
2 | 0ms | 1016kb | Incorect | 0 | 0 |
3 | 0ms | 1016kb | Incorect | 0 | 0 |
4 | 0ms | 1012kb | Incorect | 0 | 0 |
5 | 0ms | 1036kb | Incorect | 0 | 0 |
6 | 0ms | 1024kb | Incorect | 0 | 0 |
7 | 0ms | 1028kb | Incorect | 0 |
8 | 20ms | 1372kb | Incorect | 0 | 0 |
9 | 44ms | 1732kb | Incorect | 0 |
10 | 0ms | 1036kb | Incorect | 0 |
11 | 32ms | 1632kb | Incorect | 0 | 0 |
12 | 100ms | 2672kb | Incorect | 0 |
13 | 72ms | 2184kb | Incorect | 0 |
14 | 140ms | 3228kb | Incorect | 0 |
15 | 172ms | 3680kb | Incorect | 0 | 0 |
16 | 132ms | 2988kb | Incorect | 0 |
17 | 0ms | 1040kb | Incorect | 0 |
18 | 192ms | 3920kb | Incorect | 0 | 0 |
19 | 236ms | 4588kb | Incorect | 0 |
20 | 0ms | 1048kb | Incorect | 0 |
Punctaj total | 0 |