Pagini recente » Borderou de evaluare (job #713216) | Borderou de evaluare (job #3235536) | Borderou de evaluare (job #188611) | Borderou de evaluare (job #1950090) | Borderou de evaluare (job #1650685)
Borderou de evaluare (job #1650685)
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 | 1020kb | OK | 5 | 5 |
4 | 0ms | 1024kb | OK | 5 | 5 |
5 | 0ms | 1048kb | OK | 5 | 5 |
6 | 0ms | 1028kb | OK | 5 | 10 |
7 | 0ms | 1052kb | OK | 5 |
8 | 28ms | 1432kb | OK | 5 | 15 |
9 | 44ms | 1780kb | OK | 5 |
10 | 0ms | 1100kb | OK | 5 |
11 | 52ms | 1736kb | OK | 5 | 20 |
12 | 112ms | 2760kb | OK | 5 |
13 | 76ms | 2264kb | OK | 5 |
14 | 148ms | 3360kb | OK | 5 |
15 | 192ms | 3840kb | OK | 5 | 15 |
16 | 144ms | 3220kb | OK | 5 |
17 | 4ms | 1080kb | OK | 5 |
18 | 212ms | 4108kb | OK | 5 | 15 |
19 | 268ms | 4832kb | OK | 5 |
20 | 8ms | 1296kb | OK | 5 |
Punctaj total | 100 |