0_0_36894339_10377.cpp: In function 'll find(ll)':
0_0_36894339_10377.cpp:18:12: error: 'fa' was not declared in this scope
return fa[x] ?
^
0_0_36894339_10377.cpp:19:1: error: expected primary-expression before '}' token
}
^
0_0_36894339_10377.cpp:19:1: error: expected ':' before '}' token
0_0_36894339_10377.cpp:19:1: error: expected primary-expression before '}' token
0_0_36894339_10377.cpp:19:1: error: expected ';' before '}' token
0_0_36894339_10377.cpp: In function 'int main()':
0_0_36894339_10377.cpp:54:28: error: 'add' was not declared in this scope
add(p[i], 1);
^
0_0_36894339_10377.cpp:59:30: error: 'sum' was not declared in this scope
dp[i] = sum(n) - sum(p[i]) + 1;
^
|