Problem omnomnom
User wrizz69
Submission Time 2023-11-15 14:35:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

omnomnom.cpp:5:16: error: expected unqualified-id before numeric constant
5 | vector<int,int>3dp;
| ^~~
omnomnom.cpp:6:8: error: ‘long int dp()’ redeclared as different kind of entity
6 | int dp(){
| ^
omnomnom.cpp:4:5: note: previous declaration ‘long int dp [100000]’
4 | int dp[100000];
| ^~
omnomnom.cpp: In function ‘long int dp()’:
omnomnom.cpp:7:8: error: ‘v’ was not declared in this scope
7 | if(v[n][k] == dp[n][k]){
| ^
omnomnom.cpp:7:10: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | if(v[n][k] == dp[n][k]){
| ^
| yn
omnomnom.cpp:7:13: error: ‘k’ was not declared in this scope
7 | if(v[n][k] == dp[n][k]){
| ^
omnomnom.cpp:10:8: error: ‘v’ was not declared in this scope
10 | if(v[n][k] != -1){
| ^
omnomnom.cpp:10:10: error: ‘n’