/in/Main.java:28: error: ';' expected
for(int i = 1; i < 2n+1; i++){
^
/in/Main.java:28: error: not a statement
for(int i = 1; i < 2n+1; i++){
^
/in/Main.java:28: error: ')' expected
for(int i = 1; i < 2n+1; i++){
^
/in/Main.java:28: error: ';' expected
for(int i = 1; i < 2n+1; i++){
^
/in/Main.java:29: error: ']' expected
ans = Math.max(dp[1][2n],ans);
^
/in/Main.java:29: error: ';' expected
ans = Math.max(dp[1][2n],ans);
^
/in/Main.java:29: error: illegal start of expression
ans = Math.max(dp[1][2n],ans);
^
/in/Main.java:29: error: ';' expected
ans = Math.max(dp[1][2n],ans);
^
8 errors