Pagini recente » Borderou de evaluare (job #41824) | Borderou de evaluare (job #235405) | Borderou de evaluare (job #2229336) | Borderou de evaluare (job #2780062) | Borderou de evaluare (job #1443028)
Borderou de evaluare (job #1443028)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
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:31:13: warning: overflow in implicit constant conversion [-Woverflow]
D[i]=INFINIT;
^
user.cpp:37: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:58: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 Read()’:
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:53: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 | 1012kb | OK | 5 | 5 |
2 | 0ms | 1008kb | OK | 5 | 5 |
3 | 0ms | 1028kb | OK | 5 | 5 |
4 | 0ms | 1020kb | OK | 5 | 5 |
5 | 0ms | 1044kb | OK | 5 | 5 |
6 | 0ms | 1032kb | OK | 5 | 10 |
7 | 0ms | 1044kb | OK | 5 |
8 | 32ms | 1420kb | OK | 5 | 15 |
9 | 44ms | 1788kb | OK | 5 |
10 | 0ms | 1088kb | OK | 5 |
11 | 52ms | 1728kb | OK | 5 | 20 |
12 | 108ms | 2776kb | OK | 5 |
13 | 76ms | 2264kb | OK | 5 |
14 | 148ms | 3360kb | OK | 5 |
15 | 192ms | 3836kb | OK | 5 | 15 |
16 | 148ms | 3220kb | OK | 5 |
17 | 4ms | 1072kb | OK | 5 |
18 | 216ms | 4112kb | OK | 5 | 15 |
19 | 276ms | 4840kb | OK | 5 |
20 | 8ms | 1292kb | OK | 5 |
Punctaj total | 100 |