Borderou de evaluare (job #307208)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Ants | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 13 iun. 2017 15:18:10 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:24: sorry, unimplemented: non-static data member initializers
user.cpp:9:24: error: ‘constexpr’ needed for in-class initialization of static data member ‘left_child’ of non-integral type
user.cpp:10:25: sorry, unimplemented: non-static data member initializers
user.cpp:10:25: error: ‘constexpr’ needed for in-class initialization of static data member ‘right_child’ of non-integral type
user.cpp:11:25: sorry, unimplemented: non-static data member initializers
user.cpp:11:25: error: ISO C++ forbids in-class initialization of non-const static member ‘lazy’
user.cpp:12:21: sorry, unimplemented: non-static data member initializers
user.cpp:12:21: error: ISO C++ forbids in-class initialization of non-const static member ‘sum’
user.cpp: In function ‘Node* copy_node(Node*)’:
user.cpp:23:21: error: ‘struct Node’ has no member named ‘left_child’
user.cpp:23:39: error: ‘struct Node’ has no member named ‘left_child’
user.cpp:24:21: error: ‘struct Node’ has no member named ‘right_child’
user.cpp:24:40: error: ‘struct Node’ has no member named ‘right_child’
user.cpp: In function ‘void lazzie(Node*, int, int)’:
user.cpp:38:16: error: ‘struct Node’ has no member named ‘left_child’
user.cpp:39:16: error: ‘struct Node’ has no member named ‘right_child’
user.cpp: In function ‘Node* update_range(Node*, int, int, int, int, long long int)’:
user.cpp:47:14: error: ‘struct Node’ has no member named ‘left_child’
user.cpp:47:42: error: ‘struct Node’ has no member named ‘left_child’
user.cpp:48:14: error: ‘struct Node’ has no member named ‘right_child’
user.cpp:48:43: error: ‘struct Node’ has no member named ‘right_child’
user.cpp:55:20: error: ‘struct Node’ has no member named ‘left_child’
user.cpp:56:20: error: ‘struct Node’ has no member named ‘right_child’
user.cpp:63:25: error: ‘struct Node’ has no member named ‘left_child’
user.cpp:64:25: error: ‘struct Node’ has no member named ‘right_child’
user.cpp:67:22: error: ‘struct Node’ has no member named ‘left_child’
user.cpp:68:22: error: ‘struct Node’ has no member named ‘right_child’
user.cpp: In function ‘long long int query(Node*, int, int, int, int)’:
user.cpp:76:12: error: ‘struct Node’ has no member named ‘left_child’
user.cpp:76:38: error: ‘struct Node’ has no member named ‘left_child’
user.cpp:77:14: error: ‘struct Node’ has no member named ‘right_child’
user.cpp:77:43: error: ‘struct Node’ has no member named ‘right_child’
user.cpp:85:25: error: ‘struct Node’ has no member named ‘left_child’
user.cpp:86:26: error: ‘struct Node’ has no member named ‘right_child’
user.cpp: In function ‘void build(Node*&, int, int)’:
user.cpp:116:18: error: ‘struct Node’ has no member named ‘left_child’
user.cpp:117:18: error: ‘struct Node’ has no member named ‘right_child’
user.cpp:120:16: error: ‘struct Node’ has no member named ‘left_child’
user.cpp:120:49: error: ‘struct Node’ has no member named ‘left_child’
user.cpp:121:16: error: ‘struct Node’ has no member named ‘right_child’
user.cpp:121:50: error: ‘struct Node’ has no member named ‘right_child’