Borderou de evaluare (job #976601)
Utilizator | Nita Adrian Valentin ScoobyDoo38 | Data | 23 iulie 2013 14:54:14 |
---|---|---|---|
Problema | Insule | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘std::tuple<int, int, int> islands(std::array<std::array<char, 100u>, 100u>&, int, int)’:
user.cpp:36:106: error: return type ‘class std::tuple<int, int, int>’ is incomplete
inline tuple< int, int, int > islands( array< array< char, 100 >, 100 >& ocean, const int n, const int m )
^
user.cpp:38:101: error: ‘make_tuple’ was not declared in this scope
return make_tuple( flood( ocean, n, m, '1' ), flood( ocean, n, m, '2' ), flood( ocean, n, m, '3' ) );
^
user.cpp: In function ‘char bridge(std::array<std::array<char, 100u>, 100u>&, int, int)’:
user.cpp:50:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if ( i > 0 )
^
user.cpp:55:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if ( j > 0 && ocean[ i ][ j - 1 ] == '0' )
^
user.cpp:60:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if ( i < n - 1 && ocean[ i + 1 ][ j ] == '0' )
^
user.cpp:65:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if ( j < m - 1 && ocean[ i ][ j + 1 ] == '0' )
^
user.cpp: In function ‘int main()’:
user.cpp:91:38: error: ‘void answer1’ has incomplete type
auto answer1 = islands( ocean, n, m );
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !