Ilgiausias didejantis posekis 2

Taškai: 0

Compile: FAIL

posekis2.cpp: In function ‘int main()’: posekis2.cpp:14:9: error: two or more data types in declaration of ‘n’ int n,viso=1; ^ posekis2.cpp:14:11: error: two or more data types in declaration of ‘viso’ int n,viso=1; ^ posekis2.cpp:15:10: error: ‘n’ was not declared in this scope fin>>n; ^ posekis2.cpp:18:22: error: ‘sk’ was not declared in this scope FOR(0,n){ fin>>sk[i]; } ^ posekis2.cpp:19:10: error: ‘verte’ was not declared in this scope fill(verte,verte+n,1); ^ posekis2.cpp:22:16: error: ‘sk’ was not declared in this scope if(sk[i]>sk[g]&&verte[i]<verte[g]+1){ ^ posekis2.cpp:24:41: error: ‘viso’ was not declared in this scope if(verte[i]>viso){ ^ posekis2.cpp:33:11: error: ‘viso’ was not declared in this scope fout<<viso; ^

nr.resulttimemessage