Pagini recente » Borderou de evaluare (job #2676130) | Borderou de evaluare (job #2456795) | Borderou de evaluare (job #3184443) | Borderou de evaluare (job #547260) | Borderou de evaluare (job #1596714)
Borderou de evaluare (job #1596714)
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:47:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d",&n,&m);
^
user.cpp:47:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:50: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:50:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:50:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:61:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ",T[i]) ;
^
user.cpp:44: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:45: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:47: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:50: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 | 1044kb | OK | 5 | 5 |
2 | 0ms | 1048kb | OK | 5 | 5 |
3 | 0ms | 1044kb | Incorect | 0 | 0 |
4 | 0ms | 1040kb | Incorect | 0 | 0 |
5 | 0ms | 1056kb | Incorect | 0 | 0 |
6 | 0ms | 1052kb | Incorect | 0 | 0 |
7 | 0ms | 1052kb | OK | 5 |
8 | 16ms | 1328kb | Incorect | 0 | 0 |
9 | 40ms | 1716kb | Incorect | 0 |
10 | 0ms | 1056kb | OK | 5 |
11 | 52ms | 1556kb | OK | 5 | 0 |
12 | 96ms | 2572kb | Incorect | 0 |
13 | 64ms | 2092kb | Incorect | 0 |
14 | 128ms | 3124kb | Incorect | 0 |
15 | 168ms | 3436kb | Incorect | 0 | 0 |
16 | 124ms | 2940kb | Incorect | 0 |
17 | 0ms | 1056kb | OK | 5 |
18 | 172ms | 3660kb | Incorect | 0 | 0 |
19 | 220ms | 4328kb | Incorect | 0 |
20 | 0ms | 1076kb | OK | 5 |
Punctaj total | 10 |