Pagini recente » Borderou de evaluare (job #1081542) | Borderou de evaluare (job #309476) | Borderou de evaluare (job #1396369) | Borderou de evaluare (job #1397351) | Borderou de evaluare (job #1847520)
Borderou de evaluare (job #1847520)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:21: warning: narrowing conversion of ‘x’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
coada.push({x,1});
^
user.cpp:67: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:67: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:74:25: warning: narrowing conversion of ‘y’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
coada.push({y,y_val});
^
user.cpp:74:25: warning: narrowing conversion of ‘y_val’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:84: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:84: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:30: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:31: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:33: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:38:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cczEi8Yo.o: In function `main':
user.cpp:(.text.startup+0xa8): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 384kb | OK | 10 |
2 | 0ms | 388kb | OK | 10 |
3 | 0ms | 388kb | OK | 10 |
4 | Depăşit | 5608kb | Time limit exceeded. | 0 |
5 | 0ms | 392kb | OK | 10 |
6 | 8ms | 540kb | OK | 10 |
7 | 0ms | 476kb | OK | 10 |
8 | 8ms | 644kb | OK | 10 |
9 | 8ms | 536kb | OK | 10 |
10 | 8ms | 540kb | OK | 10 |
Punctaj total | 90 |