Borderou de evaluare (job #522740)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Magazin2 (clasele 11-12) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 27 ian. 2020 19:59:20 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:7: error: expected nested-name-specifier before 'i64'
user.cpp:5:7: error: 'i64' has not been declared
user.cpp:5:11: error: expected ';' before '=' token
user.cpp:5:11: error: expected unqualified-id before '=' token
user.cpp:45:9: error: 'i64' does not name a type
user.cpp:46:30: error: 'i64' has not been declared
user.cpp: In constructor 'Query::Query(int, int)':
user.cpp:48:24: error: 'struct Query' has no member named 'val'
user.cpp: At global scope:
user.cpp:53:13: error: 'i64' was not declared in this scope
user.cpp:53:16: error: template argument 1 is invalid
user.cpp:53:16: error: template argument 2 is invalid
user.cpp:53:23: error: invalid type in declaration before ';' token
user.cpp:54:10: error: 'i64' was not declared in this scope
user.cpp:54:18: error: template argument 1 is invalid
user.cpp:54:18: error: template argument 3 is invalid
user.cpp:54:18: error: template argument 4 is invalid
user.cpp:54:25: error: invalid type in declaration before ';' token
user.cpp:55:15: error: 'i64' was not declared in this scope
user.cpp:55:18: error: template argument 2 is invalid
user.cpp:55:18: error: template argument 4 is invalid
user.cpp:55:24: error: invalid type in declaration before ';' token
user.cpp: In function 'void compress()':
user.cpp:58:21: error: 'i64' was not declared in this scope
user.cpp:58:24: error: template argument 1 is invalid
user.cpp:58:24: error: template argument 2 is invalid
user.cpp:58:31: error: invalid type in declaration before ';' token
user.cpp:59:35: error: request for member 'size' in 'vals', which is of non-class type 'int'
user.cpp:60:22: error: request for member 'push_back' in 'temp', which is of non-class type 'int'
user.cpp:60:38: error: invalid types 'int[int]' for array subscript
user.cpp:62:24: error: request for member 'begin' in 'temp', which is of non-class type 'int'
user.cpp:62:38: error: request for member 'end' in 'temp', which is of non-class type 'int'
user.cpp:63:14: error: request for member 'erase' in 'temp', which is of non-class type 'int'
user.cpp:63:37: error: request for member 'begin' in 'temp', which is of non-class type 'int'
user.cpp:63:51: error: request for member 'end' in 'temp', which is of non-class type 'int'
user.cpp:63:64: error: request for member 'end' in 'temp', which is of non-class type 'int'
user.cpp:64:35: error: request for member 'size' in 'temp', which is of non-class type 'int'
user.cpp:65:28: error: invalid types 'int[int]' for array subscript
user.cpp:66:36: error: invalid types 'int[int]' for array subscript
user.cpp:67:26: error: invalid types 'int[int]' for array subscript
user.cpp:67:36: error: invalid types 'int[int]' for array subscript
user.cpp: In function 'int main()':
user.cpp:74:9: error: 'i64' was not declared in this scope
user.cpp:74:13: error: expected ';' before 'val'
user.cpp:77:47: error: 'val' was not declared in this scope
user.cpp:80:30: error: request for member 'push_back' in 'vals', which is of non-class type 'int'
user.cpp:89:47: error: 'struct Query' has no member named 'val'
user.cpp:91:58: error: 'struct Query' has no member named 'val'
user.cpp:92:55: error: invalid types 'int[int]' for array subscript
user.cpp:75:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]