Pagini recente » Borderou de evaluare (job #2867045) | Borderou de evaluare (job #667845) | Borderou de evaluare (job #1419507) | Borderou de evaluare (job #1914383) | Borderou de evaluare (job #1459371)
Borderou de evaluare (job #1459371)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:17:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&N,&M);
^
user.cpp:17:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:20: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:20:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:20: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:29:15: warning: overflow in implicit constant conversion [-Woverflow]
Dis[i]=Infinit;
^
user.cpp: In function ‘void Write()’:
user.cpp:59:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ",Dis[i]);
^
user.cpp: In function ‘void Read()’:
user.cpp:16: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:17: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:20: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:54: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 | 1012kb | OK | 5 | 5 |
3 | 0ms | 1028kb | OK | 5 | 5 |
4 | 0ms | 1028kb | OK | 5 | 5 |
5 | 0ms | 1044kb | OK | 5 | 5 |
6 | 0ms | 1024kb | OK | 5 | 10 |
7 | 0ms | 1044kb | OK | 5 |
8 | 28ms | 1428kb | OK | 5 | 15 |
9 | 44ms | 1780kb | OK | 5 |
10 | 0ms | 1096kb | OK | 5 |
11 | 48ms | 1728kb | OK | 5 | 20 |
12 | 108ms | 2764kb | OK | 5 |
13 | 76ms | 2268kb | OK | 5 |
14 | 148ms | 3364kb | OK | 5 |
15 | 188ms | 3832kb | OK | 5 | 15 |
16 | 148ms | 3216kb | OK | 5 |
17 | 4ms | 1084kb | OK | 5 |
18 | 212ms | 4108kb | OK | 5 | 15 |
19 | 264ms | 4836kb | OK | 5 |
20 | 8ms | 1296kb | OK | 5 |
Punctaj total | 100 |