0_0_31953522_14087.cpp:1:1: error: expected unqualified-id before 'for'
for(i = 1;i <= n;i++)
^
0_0_31953522_14087.cpp:1:11: error: 'i' does not name a type
for(i = 1;i <= n;i++)
^
0_0_31953522_14087.cpp:1:18: error: 'i' does not name a type
for(i = 1;i <= n;i++)
^
0_0_31953522_14087.cpp:3:33: error: 'dp' was not declared in this scope
int count = lower_bound(dp,dp + n,INF) - dp;
^
0_0_31953522_14087.cpp:3:36: error: 'dp' was not declared in this scope
int count = lower_bound(dp,dp + n,INF) - dp;
^
0_0_31953522_14087.cpp:3:41: error: 'n' was not declared in this scope
int count = lower_bound(dp,dp + n,INF) - dp;
^
0_0_31953522_14087.cpp:3:43: error: 'INF' was not declared in this scope
int count = lower_bound(dp,dp + n,INF) - dp;
^
0_0_31953522_14087.cpp:3:46: error: 'lower_bound' was not declared in this scope
int count = lower_bound(dp,dp + n,INF) - dp;
^
0_0_31953522_14087.cpp:3:50: error: 'dp' was not declared in this scope
int count = lower_bound(dp,dp + n,INF) - dp;
^
|