0_0_32865612_27768.cpp:5:1: error: 'up' does not name a type
up[1]=1;
^
0_0_32865612_27768.cpp:6:6: error: expected constructor, destructor, or type conversion before '(' token
scanf("%d",&n);
^
0_0_32865612_27768.cpp:7:1: error: expected unqualified-id before 'for'
for(int i=1;i<=n;++i){
^
0_0_32865612_27768.cpp:7:13: error: 'i' does not name a type
for(int i=1;i<=n;++i){
^
0_0_32865612_27768.cpp:7:18: error: expected unqualified-id before '++' token
for(int i=1;i<=n;++i){
^
|