Borderou de evaluare (job #353722)

Utilizator avatar preda.andrei Preda Andrei preda.andrei IP ascuns
Problemă Skyline (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 17 feb. 2018 17:45:07 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:14:7: error: expected nested-name-specifier before ‘Skyline’ user.cpp:14:7: error: ‘Skyline’ has not been declared user.cpp:14:15: error: expected ‘;’ before ‘=’ token user.cpp:14:15: error: expected unqualified-id before ‘=’ token user.cpp:16:30: error: ‘Skyline’ does not name a type user.cpp:16:39: error: ISO C++ forbids declaration of ‘sky’ with no type [-fpermissive] user.cpp: In function ‘std::vector<int> FindMaxLen(const int&, int, int)’: user.cpp:18:23: error: request for member ‘size’ in ‘sky’, which is of non-class type ‘const int’ user.cpp:21:30: error: request for member ‘size’ in ‘sky’, which is of non-class type ‘const int’ user.cpp:23:23: error: invalid types ‘const int[unsigned int]’ for array subscript user.cpp:27:24: error: invalid types ‘const int[int]’ for array subscript user.cpp:27:42: error: invalid types ‘const int[unsigned int]’ for array subscript user.cpp: At global scope: user.cpp:39:21: error: ‘Skyline’ does not name a type user.cpp:39:30: error: ISO C++ forbids declaration of ‘sky’ with no type [-fpermissive] user.cpp: In function ‘int64_t Solve(const int&)’: user.cpp:42:40: error: request for member ‘size’ in ‘sky’, which is of non-class type ‘const int’ user.cpp:42:54: error: unable to deduce ‘auto’ from ‘<expression error>’ user.cpp:45:30: error: request for member ‘size’ in ‘sky’, which is of non-class type ‘const int’ user.cpp:46:50: error: invalid types ‘const int[size_t {aka unsigned int}]’ for array subscript user.cpp:46:52: error: unable to deduce ‘auto’ from ‘<expression error>’ user.cpp:47:37: error: invalid types ‘const int[size_t {aka unsigned int}]’ for array subscript user.cpp:47:39: error: unable to deduce ‘auto’ from ‘<expression error>’ user.cpp: In function ‘int main()’: user.cpp:61:3: error: ‘Skyline’ was not declared in this scope user.cpp:61:11: error: expected ‘;’ before ‘sky’ user.cpp:62:20: error: ‘sky’ was not declared in this scope user.cpp:62:20: error: unable to deduce ‘auto&’ from ‘<expression error>’ user.cpp:66:20: error: ‘sky’ was not declared in this scope user.cpp:66:23: error: unable to deduce ‘auto’ from ‘<expression error>’