Borderou de evaluare (job #2968542)
Utilizator | Data | 21 ianuarie 2023 14:44:45 | |
---|---|---|---|
Problema | Sumzero | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:46:23: error: no matching function for call to 'AINT::Node::Node()'
46 | Node seg[4 * NMAX + 1];
| ^
main.cpp:34:3: note: candidate: 'AINT::Node::Node(int, int)'
34 | Node(int _L, int _R){
| ^~~~
main.cpp:34:3: note: candidate expects 2 arguments, 0 provided
main.cpp:24:9: note: candidate: 'AINT::Node::Node(const AINT::Node&)'
24 | struct Node{
| ^~~~
main.cpp:24:9: note: candidate expects 1 argument, 0 provided
main.cpp:24:9: note: candidate: 'AINT::Node::Node(AINT::Node&&)'
main.cpp:24:9: note: candidate expects 1 argument, 0 provided
main.cpp: In function 'void AINT::build(int, int, int)':
main.cpp:107:5: error: 'maximumIndepIntervals' was not declared in this scope
107 | maximumIndepIntervals = 1;
| ^~~~~~~~~~~~~~~~~~~~~
main.cpp:108:5: error: 'prefixDp' was not declared in this scope
108 | prefixDp[0] = sufixDp[0] = 1;
| ^~~~~~~~
main.cpp:108:19: error: 'sufixDp' was not declared in this scope
108 | prefixDp[0] = sufixDp[0] = 1;
| ^~~~~~~
main.cpp: In function 'AINT::Node AINT::query(int, int, int, int, int)':
main.cpp:127:8: error: no matching function for call to 'AINT::Node::Node()'
127 | Node res;
| ^~~
main.cpp:34:3: note: candidate: 'AINT::Node::Node(int, int)'
34 | Node(int _L, int _R){
| ^~~~
main.cpp:34:3: note: candidate expects 2 arguments, 0 provided
main.cpp:24:9: note: candidate: 'AINT::Node::Node(const AINT::Node&)'
24 | struct Node{
| ^~~~
main.cpp:24:9: note: candidate expects 1 argument, 0 provided
main.cpp:24:9: note: candidate: 'AINT::Node::Node(AINT::Node&&)'
main.cpp:24:9: note: candidate expects 1 argument, 0 provided
main.cpp: In function 'int main()':
main.cpp:190:3: error: 'Node' was not declared in this scope; did you mean 'AINT::Node'?
190 | Node resultedNode = AINT::query(1, 1, n, st, dr);
| ^~~~
| AINT::Node
main.cpp:24:9: note: 'AINT::Node' declared here
24 | struct Node{
| ^~~~
main.cpp:192:11: error: 'resultedNode' was not declared in this scope
192 | fout << resultedNode.maximumIndepIntervals << '\n';
| ^~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !