Pagini recente » Borderou de evaluare (job #1347859) | Borderou de evaluare (job #421649) | Borderou de evaluare (job #1057301) | Borderou de evaluare (job #1309682) | Borderou de evaluare (job #1187186)
Borderou de evaluare (job #1187186)
Raport evaluator
Compilare:
user.c: In function ‘citire’:
user.c:9:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long long int *’ [-Wformat=]
scanf("%d",&N);
^
user.c:10:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long long int *’ [-Wformat=]
scanf("%d",&M);
^
user.c:20:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long long int *’ [-Wformat=]
scanf("%d %d %d",&i,&j,&cost);
^
user.c:20:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=]
user.c: In function ‘dijkstra’:
user.c:54:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",d[i]);
^
user.c:26:28: warning: variable ‘pred’ set but not used [-Wunused-but-set-variable]
long long viz[N+1],d[N+1],pred[N+1];
^
user.c: In function ‘citire’:
user.c:9:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.c:10:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&M);
^
user.c:20:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&i,&j,&cost);
^
user.c: In function ‘main’:
user.c:57:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in","r",stdin);
^
user.c:58:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | Incorect | 0 |
2 | 0ms | 256kb | Incorect | 0 |
3 | 4ms | 2260kb | Incorect | 0 |
4 | 8ms | 4204kb | Incorect | 0 |
5 | 12ms | Depăşit | Memory limit exceeded. | 0 |
6 | 12ms | Depăşit | Memory limit exceeded. | 0 |
7 | 12ms | Depăşit | Memory limit exceeded. | 0 |
8 | 44ms | Depăşit | Memory limit exceeded. | 0 |
9 | 44ms | Depăşit | Memory limit exceeded. | 0 |
10 | 40ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |