Borderou de evaluare (job #1859231)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:12: warning: overflow in implicit constant conversion [-Woverflow]
Min=INF;
^
user.cpp:34:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<G[crt].size(); i++)
^
user.cpp:47:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
for (i=2; i<=n; i++) if (v[i]!=INF) printf("%d ",d[i]);
^
user.cpp:12:37: 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:13:39: 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:14: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:17:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %lld",&x,&y,&cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 868kb | OK | 10 |
2 | 0ms | 872kb | Incorect | 0 |
3 | 4ms | 912kb | Incorect | 0 |
4 | 8ms | 920kb | Incorect | 0 |
5 | Depăşit | 1292kb | Time limit exceeded. | 0 |
6 | Depăşit | 1644kb | Time limit exceeded. | 0 |
7 | Depăşit | 1984kb | Time limit exceeded. | 0 |
8 | Depăşit | 3112kb | Time limit exceeded. | 0 |
9 | Depăşit | 2732kb | Time limit exceeded. | 0 |
10 | Depăşit | 4872kb | Time limit exceeded. | 0 |
Punctaj total | 10 |