Pagini recente » Borderou de evaluare (job #2714295) | Borderou de evaluare (job #1444296) | Borderou de evaluare (job #2681708) | Borderou de evaluare (job #3181282) | Borderou de evaluare (job #1596723)
Borderou de evaluare (job #1596723)
Raport evaluator
Compilare:
user.cpp: In function ‘void BellManFord(long int)’:
user.cpp:25:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( long i = 0 ; i < ad[nod].size() ; ++i )
^
user.cpp: In function ‘int main()’:
user.cpp:54:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d",&n,&m);
^
user.cpp:54:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:57:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d %d",&x,&y,&c);
^
user.cpp:57:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:57:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:68:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ",T[i]) ;
^
user.cpp:51: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: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);
^
user.cpp:54: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:57:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&x,&y,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1056kb | OK | 5 | 5 |
2 | 0ms | 1056kb | OK | 5 | 5 |
3 | 0ms | 1064kb | OK | 5 | 5 |
4 | 0ms | 1064kb | OK | 5 | 5 |
5 | 0ms | 1084kb | OK | 5 | 5 |
6 | 0ms | 1056kb | Incorect | 0 | 0 |
7 | 0ms | 1064kb | OK | 5 |
8 | 16ms | 1340kb | Incorect | 0 | 0 |
9 | 44ms | 1756kb | OK | 5 |
10 | 0ms | 1072kb | OK | 5 |
11 | 28ms | 1552kb | Incorect | 0 | 0 |
12 | 108ms | 2676kb | OK | 5 |
13 | 76ms | 2168kb | OK | 5 |
14 | 144ms | 3212kb | OK | 5 |
15 | 180ms | 3656kb | OK | 5 | 15 |
16 | 140ms | 2956kb | OK | 5 |
17 | 0ms | 1068kb | OK | 5 |
18 | 208ms | 3816kb | OK | 5 | 15 |
19 | 256ms | 4476kb | OK | 5 |
20 | 0ms | 1088kb | OK | 5 |
Punctaj total | 55 |