Cod sursa(job #2152770)
Utilizator | Data | 5 martie 2018 19:46:19 | |
---|---|---|---|
Problema | Cautare binara | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva educationala | Marime | 0.33 kb |
#include <bits/stdc++.h>
#define nmax 1025
using namespace std;
ifstream f("cmlsc.in");
ofstream g("cmlsc.out");
int m,n,i,j,a[nmax],b[nmax],v[nmax][nmax],sir[nmax],c;
void Read()
{
f>>n;
for(i=1; i<=n; i++)
f>>v[i];
for(i=1; i<=n; i++)
if(v[i]==1)
}
int main()
{
Read();
return 0;
}