using namespace std;
Const int N=1 e4 + 10;
Const int INF=0 x3f3f3f3f;
Int a [N], [N] f;
Int main () {
int n;
cin> n;
For (int I=1; I & lt;=n; Cin i++) & gt;> A, [I].
For (int I=1; I & lt;=n; I++) {
F [I]=1;
For (int j=1; J & lt;=I; J++)
If (a [I] & gt; [I] a [j]) f=Max (f [I], [j] f + 1);
}
Int CNT=0;
For (int I=1; I & lt;=n; I++) if (a [I] & gt; Cnt++=3);
cout
}
CodePudding user response:
So what's the problem? Can send a code, a few mean?CodePudding user response: