Pagini recente » Borderou de evaluare (job #1997610) | Borderou de evaluare (job #3126790) | Borderou de evaluare (job #359558) | Borderou de evaluare (job #198747) | Borderou de evaluare (job #1573368)
Borderou de evaluare (job #1573368)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld",&N,&M);
^
user.cpp:19:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:22:39: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld %ld", &x, &y, &c);
^
user.cpp:22:39: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:22:39: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:40:38: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
if (D[i]!=inf) printf("%ld ", D[i]);
^
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in","r",stdin);
^
user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out","w",stdout);
^
user.cpp:19:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&N,&M);
^
user.cpp:22:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld", &x, &y, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 300kb | OK | 10 |
5 | 16ms | 556kb | OK | 10 |
6 | 32ms | 808kb | OK | 10 |
7 | 44ms | 992kb | OK | 10 |
8 | 52ms | 1276kb | OK | 10 |
9 | 152ms | 2664kb | OK | 10 |
10 | 200ms | 3388kb | OK | 10 |
Punctaj total | 100 |