Pagini recente » Borderou de evaluare (job #691041) | Borderou de evaluare (job #2932357) | Borderou de evaluare (job #2956709) | Borderou de evaluare (job #1790938) | Borderou de evaluare (job #1847514)
Borderou de evaluare (job #1847514)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:21: warning: narrowing conversion of ‘x’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
coada.push({x,1});
^
user.cpp:55:67: warning: narrowing conversion of ‘muchii[((int)abc.pereche::nod)].std::vector<_Tp, _Alloc>::operator[]<int, std::allocator<int> >(((std::vector<int>::size_type)i))’ from ‘__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}’ to ‘short int’ inside { } [-Wnarrowing]
coada.push({muchii[abc.nod][i],abc.distanta+1});
^
user.cpp:55:64: warning: narrowing conversion of ‘(((int)abc.pereche::distanta) + 1)’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
coada.push({muchii[abc.nod][i],abc.distanta+1});
^
user.cpp:62:25: warning: narrowing conversion of ‘y’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
coada.push({y,y_val});
^
user.cpp:62:25: warning: narrowing conversion of ‘y_val’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:72:64: warning: narrowing conversion of ‘muchii[((int)abc.pereche::nod)].std::vector<_Tp, _Alloc>::operator[]<int, std::allocator<int> >(((std::vector<int>::size_type)i))’ from ‘__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}’ to ‘short int’ inside { } [-Wnarrowing]
coada.push({muchii[abc.nod][i],pass[abc.nod]-1});
^
user.cpp:72:61: warning: narrowing conversion of ‘(((int)pass[((int)abc.pereche::nod)]) + -1)’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
coada.push({muchii[abc.nod][i],pass[abc.nod]-1});
^
user.cpp:28:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.in","r",stdin);
^
user.cpp:29:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.out","w",stdout);
^
user.cpp:31:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d\n",&n,&m,&x,&y);
^
user.cpp:35:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 372kb | OK | 10 |
2 | 0ms | 376kb | OK | 10 |
3 | 0ms | 380kb | OK | 10 |
4 | Depăşit | 6208kb | Time limit exceeded. | 0 |
5 | 0ms | 384kb | OK | 10 |
6 | 12ms | 524kb | OK | 10 |
7 | 4ms | 456kb | OK | 10 |
8 | 8ms | 636kb | OK | 10 |
9 | 12ms | 528kb | OK | 10 |
10 | 12ms | 524kb | OK | 10 |
Punctaj total | 90 |