0_0_31305094_16489.cpp:13:13: error: expected ')' before ',' token
node(cnt,sum,sqsum):cnt(cnt),sum(sum),sqsum(sqsum)
^
0_0_31305094_16489.cpp: In function 'LL dfs(LL, LL, LL, LL, LL)':
0_0_31305094_16489.cpp:23:30: error: no matching function for call to 'node::node(int, int, int)'
return node(0,0,0);
^
0_0_31305094_16489.cpp:23:30: note: candidates are:
0_0_31305094_16489.cpp:8:5: note: node::node()
node()
^
0_0_31305094_16489.cpp:8:5: note: candidate expects 0 arguments, 3 provided
0_0_31305094_16489.cpp:6:8: note: constexpr node::node(const node&)
struct node{
^
0_0_31305094_16489.cpp:6:8: note: candidate expects 1 argument, 3 provided
0_0_31305094_16489.cpp:6:8: note: constexpr node::node(node&&)
0_0_31305094_16489.cpp:6:8: note: candidate expects 1 argument, 3 provided
0_0_31305094_16489.cpp:26:30: error: no matching function for call to 'node::node(int, int, int)'
return node(1,0,0);
^
0_0_31305094_16489.cpp:26:30: note: candidates are:
0_0_31305094_16489.cpp:8:5: note: node::node()
node()
^
0_0_31305094_16489.cpp:8:5: note: candidate expects 0 arguments, 3 provided
0_0_31305094_16489.cpp:6:8: note: constexpr node::node(const node&)
struct node{
^
0_0_31305094_16489.cpp:6:8: note: candidate expects 1 argument, 3 provided
0_0_31305094_16489.cpp:6:8: note: constexpr node::node(node&&)
0_0_31305094_16489.cpp:6:8: note: candidate expects 1 argument, 3 provided
0_0_31305094_16489.cpp:29:25: error: 'dp' was not declared in this scope
if((!lead)&&(!op)&&(dp[pos][st1][st2].cnt!=-1))
^
0_0_31305094_16489.cpp:31:15: error: 've' was not declared in this scope
LL tmp=op?ve[pos]:9;
^
0_0_31305094_16489.cpp:36:9: error: 'tmp1' was not declared in this scope
tmp1=
^
0_0_31305094_16489.cpp:37:9: error: expected primary-expression before 'if'
if((lead)&&i==0)
^
0_0_31305094_16489.cpp: In function 'LL solve(LL)':
0_0_31305094_16489.cpp:46:5: error: 've' was not declared in this scope
ve[len++]=-1;
^
0_0_31305094_16489.cpp:52:30: error: conversion from 'LL {aka long long int}' to non-scalar type 'node' requested
node tt=dfs(len-1,0,0,1,1);
^
0_0_31305094_16489.cpp: In function 'int main()':
0_0_31305094_16489.cpp:59:5: error: 'fec' was not declared in this scope
fec[0]=1;
^
0_0_31305094_16489.cpp:65:17: error: 't' was not declared in this scope
scanf("%d",&t);
^
0_0_31305094_16489.cpp:68:27: error: 'l' was not declared in this scope
scanf("%lld%lld",&l,&r);
^
0_0_31305094_16489.cpp:68:30: error: 'r' was not declared in this scope
scanf("%lld%lld",&l,&r);
^
|