Borderou de evaluare (job #764816)

Utilizator avatar andreifilimon Popescu Filimon Andrei Cosmin andreifilimon IP ascuns
Problemă Inundație2 (clasa a 10-a) Compilator cpp-32
Rundă Concurs IQ Academy | Clasele 9-10 Status evaluat
Dată 25 feb. 2024 12:41:50 Scor 30

Raport evaluator

Compilare: main.cpp: In function 'long long int bfs()': main.cpp:30:9: warning: variable 't' set but not used [-Wunused-but-set-variable] 30 | int t, x, y, i, nx, ny, minn, snx, sny, mint; | ^ In file included from /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/vector:67, from main.cpp:2: In member function 'void std::_Bit_iterator_base::_M_incr(std::ptrdiff_t)', inlined from 'std::_Bit_iterator::iterator& std::_Bit_iterator::operator+=(std::iterator<std::random_access_iterator_tag, bool>::difference_type)' at /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_bvector.h:340:14, inlined from 'std::_Bit_iterator::iterator std::operator+(const _Bit_iterator::iterator&, iterator<random_access_iterator_tag, bool>::difference_type)' at /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_bvector.h:362:16, inlined from 'std::_Bit_iterator::reference std::_Bit_iterator::operator[](std::iterator<std::random_access_iterator_tag, bool>::difference_type) const' at /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_bvector.h:355:24, inlined from 'std::vector<bool, _Alloc>::reference std::vector<bool, _Alloc>::operator[](size_type) [with _Alloc = std::allocator<bool>]' at /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_bvector.h:1051:23, inlined from 'long long int bfs()' at main.cpp:54:21: /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_bvector.h:210:23: warning: 'sny' may be used uninitialized [-Wmaybe-uninitialized] 210 | difference_type __n = __i + _M_offset; | ^~~ main.cpp: In function 'long long int bfs()': main.cpp:30:40: note: 'sny' was declared here 30 | int t, x, y, i, nx, ny, minn, snx, sny, mint; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test Punctaj/grupă
1 1 ms 245 kb OK 10 10
2 1 ms 245 kb OK 10 10
3 1 ms 245 kb OK 10 10
4 759 ms 249 kb Time limit exceeded 0 0
5 756 ms 507 kb Time limit exceeded 0 0
6 759 ms 1556 kb Time limit exceeded 0 0
7 759 ms 2342 kb Time limit exceeded 0 0
8 755 ms 774 kb Time limit exceeded 0
9 759 ms 1032 kb Time limit exceeded 0 0
10 759 ms 2347 kb Time limit exceeded 0
Punctaj total 30