Borderou de evaluare (job #317567)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Acoperire | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 19 oct. 2017 19:11:35 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:7: error: expected nested-name-specifier before ‘Segment’
user.cpp:8:7: error: ‘Segment’ has not been declared
user.cpp:8:14: error: expected ‘;’ before ‘=’ token
user.cpp:8:14: error: expected unqualified-id before ‘=’ token
user.cpp:10:23: error: ‘intersect’ declared as an ‘inline’ variable
user.cpp:10:23: error: ‘Segment’ was not declared in this scope
user.cpp:10:32: error: ‘s’ was not declared in this scope
user.cpp:10:35: error: expected primary-expression before ‘int’
user.cpp:10:43: error: expected primary-expression before ‘int’
user.cpp:10:49: error: expression list treated as compound expression in initializer [-fpermissive]
user.cpp:10:51: error: expected ‘,’ or ‘;’ before ‘{’ token
user.cpp: In function ‘int main()’:
user.cpp:22:10: error: ‘Segment’ was not declared in this scope
user.cpp:22:17: error: template argument 1 is invalid
user.cpp:22:17: error: template argument 2 is invalid
user.cpp:22:20: error: invalid type in declaration before ‘(’ token
user.cpp:25:15: error: invalid types ‘int[int]’ for array subscript
user.cpp:25:29: error: invalid types ‘int[int]’ for array subscript
user.cpp:27:10: error: request for member ‘begin’ in ‘v’, which is of non-class type ‘int’
user.cpp:27:21: error: request for member ‘end’ in ‘v’, which is of non-class type ‘int’
user.cpp:29:10: error: the value of ‘Segment’ is not usable in a constant expression
user.cpp:22:10: note: ‘Segment’ was not declared ‘constexpr’
user.cpp:29:17: error: template argument 1 is invalid
user.cpp:29:17: error: template argument 2 is invalid
user.cpp:29:22: error: invalid type in declaration before ‘;’ token
user.cpp:32:22: error: invalid types ‘int[int]’ for array subscript
user.cpp:32:29: error: ‘intersect’ cannot be used as a function
user.cpp:33:15: error: request for member ‘empty’ in ‘ans’, which is of non-class type ‘int’
user.cpp:34:13: error: request for member ‘push_back’ in ‘ans’, which is of non-class type ‘int’
user.cpp:34:26: error: invalid types ‘int[int]’ for array subscript
user.cpp:35:31: error: invalid types ‘int[int]’ for array subscript
user.cpp:35:52: error: invalid types ‘int[int]’ for array subscript
user.cpp:38:17: error: expected ‘;’ before ‘s’
user.cpp:39:15: error: ‘s’ was not declared in this scope
user.cpp:39:30: error: invalid types ‘int[int]’ for array subscript
user.cpp:44:20: error: request for member ‘size’ in ‘ans’, which is of non-class type ‘int’
user.cpp:45:33: error: request for member ‘size’ in ‘ans’, which is of non-class type ‘int’
user.cpp:45:49: error: invalid types ‘int[int]’ for array subscript
user.cpp:45:61: error: invalid types ‘int[int]’ for array subscript
user.cpp:45:69: error: ‘intersect’ cannot be used as a function
user.cpp:45:77: error: invalid types ‘int[int]’ for array subscript
user.cpp:45:97: error: request for member ‘size’ in ‘ans’, which is of non-class type ‘int’
user.cpp:46:39: error: request for member ‘size’ in ‘ans’, which is of non-class type ‘int’
user.cpp:46:75: error: request for member ‘size’ in ‘ans’, which is of non-class type ‘int’
user.cpp:47:17: error: request for member ‘pop_back’ in ‘ans’, which is of non-class type ‘int’
user.cpp:51:21: error: request for member ‘size’ in ‘ans’, which is of non-class type ‘int’
user.cpp:51:46: error: invalid types ‘int[int]’ for array subscript
user.cpp:51:66: error: invalid types ‘int[int]’ for array subscript
user.cpp:52:37: error: request for member ‘size’ in ‘ans’, which is of non-class type ‘int’
user.cpp:52:73: error: request for member ‘size’ in ‘ans’, which is of non-class type ‘int’