Pagini recente » Borderou de evaluare (job #2943897) | Borderou de evaluare (job #2904777) | Borderou de evaluare (job #2862638) | Borderou de evaluare (job #2484063) | Borderou de evaluare (job #1596753)
Borderou de evaluare (job #1596753)
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:49:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d",&n,&m);
^
user.cpp:49:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:52: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:52:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:52:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:63:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ",T[i]) ;
^
user.cpp:46: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:47: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:49: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:52: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 | Depăşit | 1044kb | Time limit exceeded. | 0 | 0 |
2 | Depăşit | 1044kb | Time limit exceeded. | 0 | 0 |
3 | 0ms | 1048kb | Incorect | 0 | 0 |
4 | 0ms | 1048kb | Incorect | 0 | 0 |
5 | 0ms | 1064kb | Incorect | 0 | 0 |
6 | 0ms | 1072kb | OK | 5 | 0 |
7 | Depăşit | 1052kb | Time limit exceeded. | 0 |
8 | 28ms | 1344kb | OK | 5 | 0 |
9 | 40ms | 1744kb | Incorect | 0 |
10 | Depăşit | 1060kb | Time limit exceeded. | 0 |
11 | 52ms | 1556kb | OK | 5 | 0 |
12 | 104ms | 2668kb | Incorect | 0 |
13 | 72ms | 2160kb | Incorect | 0 |
14 | 140ms | 3204kb | Incorect | 0 |
15 | 180ms | 3644kb | Incorect | 0 | 0 |
16 | 136ms | 2944kb | Incorect | 0 |
17 | Depăşit | 1056kb | Time limit exceeded. | 0 |
18 | 212ms | 3812kb | OK | 5 | 0 |
19 | 252ms | 4480kb | OK | 5 |
20 | Depăşit | 1076kb | Time limit exceeded. | 0 |
Punctaj total | 0 |