Dažniausias skaičius

Taškai: 0

Compile: FAIL

dazniausias_sk.cpp: In constructor ‘node::node(int, int)’: dazniausias_sk.cpp:25:52: error: no matching function for call to ‘node::node(int&, int, trys [10000])’ left = new node(f, f + (to - from)/2, A); ^ dazniausias_sk.cpp:17:5: note: candidate: node::node(int, int) node(int f, int t){ ^ dazniausias_sk.cpp:17:5: note: candidate expects 2 arguments, 3 provided dazniausias_sk.cpp:16:5: note: candidate: node::node() node(); ^ dazniausias_sk.cpp:16:5: note: candidate expects 0 arguments, 3 provided dazniausias_sk.cpp:11:8: note: candidate: constexpr node::node(const node&) struct node{ ^ dazniausias_sk.cpp:11:8: note: candidate expects 1 argument, 3 provided dazniausias_sk.cpp:11:8: note: candidate: constexpr node::node(node&&) dazniausias_sk.cpp:11:8: note: candidate expects 1 argument, 3 provided dazniausias_sk.cpp:26:58: error: no matching function for call to ‘node::node(int, int&, trys [10000])’ right = new node(f + (to - from)/2 + 1, to, A); ^ dazniausias_sk.cpp:17:5: note: candidate: node::node(int, int) node(int f, int t){ ^ dazniausias_sk.cpp:17:5: note: candidate expects 2 arguments, 3 provided dazniausias_sk.cpp:16:5: note: candidate: node::node() node(); ^ dazniausias_sk.cpp:16:5: note: candidate expects 0 arguments, 3 provided dazniausias_sk.cpp:11:8: note: candidate: constexpr node::node(const node&) struct node{ ^ dazniausias_sk.cpp:11:8: note: candidate expects 1 argument, 3 provided dazniausias_sk.cpp:11:8: note: candidate: constexpr node::node(node&&) dazniausias_sk.cpp:11:8: note: candidate expects 1 argument, 3 provided dazniausias_sk.cpp: In function ‘int main()’: dazniausias_sk.cpp:65:30: error: no matching function for call to ‘node::node(int, int&, trys [10000])’ node Medis(0, coun, A); ^ dazniausias_sk.cpp:17:5: note: candidate: node::node(int, int) node(int f, int t){ ^ dazniausias_sk.cpp:17:5: note: candidate expects 2 arguments, 3 provided dazniausias_sk.cpp:16:5: note: candidate: node::node() node(); ^ dazniausias_sk.cpp:16:5: note: candidate expects 0 arguments, 3 provided dazniausias_sk.cpp:11:8: note: candidate: constexpr node::node(const node&) struct node{ ^ dazniausias_sk.cpp:11:8: note: candidate expects 1 argument, 3 provided dazniausias_sk.cpp:11:8: note: candidate: constexpr node::node(node&&) dazniausias_sk.cpp:11:8: note: candidate expects 1 argument, 3 provided

nr.resulttimemessage