Borderou de evaluare (job #1624880)
Utilizator | Data | 2 martie 2016 14:24:46 | |
---|---|---|---|
Problema | Teams | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:1: error: expected initializer before ‘void’
void Citire()
^
user.cpp: In function ‘int CautareBinara1(int, int)’:
user.cpp:19:8: error: ‘n’ was not declared in this scope
dr=n;
^
user.cpp:24:12: error: expected primary-expression before ‘)’ token
if()
^
user.cpp:25:5: error: expected primary-expression before ‘}’ token
}
^
user.cpp:25:5: error: expected ‘;’ before ‘}’ token
user.cpp:26:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void Rezolva()’:
user.cpp:29:5: error: ‘cnt’ was not declared in this scope
cnt=0;
^
user.cpp:30:9: error: ‘i’ was not declared in this scope
for(i=1;i<n and p1!=-1;i++)
^
user.cpp:30:15: error: ‘n’ was not declared in this scope
for(i=1;i<n and p1!=-1;i++)
^
user.cpp:30:21: error: ‘p1’ was not declared in this scope
for(i=1;i<n and p1!=-1;i++)
^
user.cpp:32:31: error: ‘A’ was not declared in this scope
p1=CautareBinara1(i+1,A-a[i]);
^
user.cpp:32:33: error: ‘a’ was not declared in this scope
p1=CautareBinara1(i+1,A-a[i]);
^
user.cpp:33:9: error: ‘p2’ was not declared in this scope
p2=CautareBinara2(i+1,B-a[i]);
^
user.cpp:33:31: error: ‘B’ was not declared in this scope
p2=CautareBinara2(i+1,B-a[i]);
^
user.cpp:33:37: error: ‘CautareBinara2’ was not declared in this scope
p2=CautareBinara2(i+1,B-a[i]);
^
user.cpp:34:19: error: ‘fout’ was not declared in this scope
if(p1==-1)fout<<cnt<<" ";
^
user.cpp: In function ‘int main()’:
user.cpp:40:12: error: ‘Citire’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !