Pagini recente » Borderou de evaluare (job #999555) | Borderou de evaluare (job #1763689) | Borderou de evaluare (job #2755786) | Borderou de evaluare (job #2884634) | Borderou de evaluare (job #1597801)
Borderou de evaluare (job #1597801)
Raport evaluator
Compilare:
user.cpp: In function ‘void BellManFord(long int)’:
user.cpp:26: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:55:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d",&n,&m);
^
user.cpp:55:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:58: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:58:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:58:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:69:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ",T[i]) ;
^
user.cpp:52: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: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);
^
user.cpp:55: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:58: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 | 1052kb | OK | 5 | 5 |
| 2 | 0ms | 1056kb | OK | 5 | 5 |
| 3 | 0ms | 1060kb | OK | 5 | 5 |
| 4 | 0ms | 1064kb | OK | 5 | 5 |
| 5 | 0ms | 1084kb | OK | 5 | 5 |
| 6 | 0ms | 1076kb | OK | 5 | 10 |
| 7 | 4ms | 1064kb | OK | 5 |
| 8 | 32ms | 1408kb | OK | 5 | 15 |
| 9 | 44ms | 1800kb | OK | 5 |
| 10 | 4ms | 1072kb | OK | 5 |
| 11 | 56ms | 1676kb | OK | 5 | 20 |
| 12 | 108ms | 2740kb | OK | 5 |
| 13 | 76ms | 2244kb | OK | 5 |
| 14 | 144ms | 3296kb | OK | 5 |
| 15 | 184ms | 3752kb | OK | 5 | 15 |
| 16 | 140ms | 3056kb | OK | 5 |
| 17 | 16ms | 1076kb | OK | 5 |
| 18 | 208ms | 4004kb | OK | 5 | 15 |
| 19 | 260ms | 4660kb | OK | 5 |
| 20 | 24ms | 1092kb | OK | 5 |
| Punctaj total | 100 |