Borderou de evaluare (job #1489487)
Utilizator | Data | 21 septembrie 2015 11:18:52 | |
---|---|---|---|
Problema | Swap | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:4: error: ‘dim’ was not declared in this scope
}v[dim];
^
user.cpp: In function ‘int main()’:
user.cpp:17:5: error: ‘fin’ was not declared in this scope
fin>>(a+1)>>(b+1);
^
user.cpp:18:5: error: ‘n’ was not declared in this scope
n=strlen(a+1);
^
user.cpp:18:17: error: ‘strlen’ was not declared in this scope
n=strlen(a+1);
^
user.cpp:19:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:21:9: error: ‘v’ was not declared in this scope
v[i].x = a[i];
^
user.cpp:24:11: error: ‘v’ was not declared in this scope
sort (v+1,v+n+1, cmp);
^
user.cpp:24:25: error: ‘sort’ was not declared in this scope
sort (v+1,v+n+1, cmp);
^
user.cpp:25:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:27:9: error: ‘st’ was not declared in this scope
st=1;dr=n;
^
user.cpp:27:14: error: ‘dr’ was not declared in this scope
st=1;dr=n;
^
user.cpp:28:9: error: ‘mij’ was not declared in this scope
mij=(st+dr)/2;
^
user.cpp:41:13: error: ‘fout’ was not declared in this scope
fout<<-1;
^
user.cpp:44:9: error: ‘val’ was not declared in this scope
val = 0;
^
user.cpp:45:9: error: ‘start’ was not declared in this scope
start = mij;
^
user.cpp:46:9: error: ‘finish’ was not declared in this scope
finish = n;
^
user.cpp:47:20: error: ‘query’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !