Pagini recente » Cod sursa (job #593296) | Cod sursa (job #2102719) | Cod sursa (job #1917540) | Cod sursa (job #2007310) | Cod sursa (job #217039)
Cod sursa(job #217039)
#include <fstream>
using namespace std;
int st,sp,bz;
int n,i,k;
int aux,poz_baza;
ifstream fin ("secventa.in");
ofstream fout("secventa.out");
int main(){
int min[500001];
fin>>n>>k;
st = 1;
fin>>bz;
poz_baza=1;
sp = k;
/*for (i=2;i<=k;i++){
fin>>aux;
if (aux<bz) {bz=aux;
poz_baza=i;}
}
min[1]=
for (i=k+1;i<=n;i++){
}*/
for (i=1;i<=n;i++){
fin>>aux;
}
for (i=1;i<=n;i++){
if (i%2==0)min[i]=30000;
else min[i]=-30000;
}
}