Pagini recente » Borderou de evaluare (job #1752591) | Borderou de evaluare (job #1048391) | Borderou de evaluare (job #2183572) | Borderou de evaluare (job #2113811) | Borderou de evaluare (job #1455894)
Borderou de evaluare (job #1455894)
Raport evaluator
Compilare:
user.cpp: In function ‘void Citire()’:
user.cpp:18:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&N,&M);
^
user.cpp:18:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:21:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d%d",&x,&y,&z);
^
user.cpp:21:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:21:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp: In function ‘void BellManFord(const int&)’:
user.cpp:30:13: warning: overflow in implicit constant conversion [-Woverflow]
D[i]=INFINIT;
^
user.cpp:36:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<Graf[nod].size() && Ciclu==false;i++)
^
user.cpp: In function ‘void Write()’:
user.cpp:57:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ",D[i]);
^
user.cpp: In function ‘void Citire()’:
user.cpp:17: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:18:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&M);
^
user.cpp:21:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&z);
^
user.cpp: In function ‘void Write()’:
user.cpp:52: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1016kb | Incorect | 0 | 0 |
2 | 0ms | 1016kb | Incorect | 0 | 0 |
3 | 0ms | 1016kb | Incorect | 0 | 0 |
4 | 0ms | 1016kb | Incorect | 0 | 0 |
5 | 0ms | 1028kb | Incorect | 0 | 0 |
6 | 0ms | 1020kb | Incorect | 0 | 0 |
7 | 0ms | 1028kb | Incorect | 0 |
8 | 20ms | 1416kb | Incorect | 0 | 0 |
9 | 40ms | 1736kb | Incorect | 0 |
10 | 0ms | 1032kb | Incorect | 0 |
11 | 36ms | 1724kb | Incorect | 0 | 0 |
12 | 100ms | 2624kb | Incorect | 0 |
13 | 72ms | 2168kb | Incorect | 0 |
14 | 132ms | 3200kb | Incorect | 0 |
15 | 176ms | 3632kb | Incorect | 0 | 0 |
16 | 132ms | 3036kb | Incorect | 0 |
17 | 0ms | 1032kb | Incorect | 0 |
18 | 188ms | 3692kb | Incorect | 0 | 0 |
19 | 232ms | 4516kb | Incorect | 0 |
20 | 0ms | 1048kb | Incorect | 0 |
Punctaj total | 0 |