Ilgiausias bendras posekis

Taškai: 0

Compile: FAIL

bendras.cpp: In function ‘void solve()’: bendras.cpp:27:10: error: expected unqualified-id before ‘[’ token auto [k, i] = bestP; ^ bendras.cpp:28:11: error: ‘k’ was not declared in this scope while(k) { ^ bendras.cpp:29:22: error: ‘i’ was not declared in this scope if(dp[k - 1][i] == dp[k][i]) --k; ^

nr.resulttimemessage