Borderou de evaluare (job #1017421)
Utilizator | Data | 27 octombrie 2013 19:21:14 | |
---|---|---|---|
Problema | Arbori indexati binar | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include fstream
^
user.cpp:4:1: error: ‘ifstream’ does not name a type
ifstream fin(aib.in);
^
user.cpp:5:1: error: ‘ofstream’ does not name a type
ofstream fout(aib.out);
^
user.cpp: In function ‘void Update(int, int)’:
user.cpp:9:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
for(int i=P;i=N;i+=i&(-i))
^
user.cpp: In function ‘int Query(int)’:
user.cpp:15:17: error: ‘i0’ was not declared in this scope
for(int i=P;i0;i-=i&(-i))
^
user.cpp: In function ‘int Search(int)’:
user.cpp:22:26: error: expected ‘;’ before ‘N’
for (Step = 1; Step N; Step = 1);
^
user.cpp:22:26: warning: for increment expression has no effect [-Wunused-value]
user.cpp:22:27: error: expected ‘)’ before ‘;’ token
for (Step = 1; Step N; Step = 1);
^
user.cpp:22:37: error: expected ‘;’ before ‘)’ token
for (Step = 1; Step N; Step = 1);
^
user.cpp:24:29: error: lvalue required as left operand of assignment
if (i+Step = N && V = S[i+Step]) {
^
user.cpp: In function ‘int main()’:
user.cpp:34:5: error: ‘finNM’ was not declared in this scope
finNM;
^
user.cpp:35:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
for(int i=1;i=N;i++)
^
user.cpp:38:13: error: ‘finX’ was not declared in this scope
finX;
^
user.cpp:45:9: error: ‘finopa’ was not declared in this scope
finopa;
^
user.cpp:47:13: error: ‘finb’ was not declared in this scope
finb;
^
user.cpp:54:24: error: ‘foutQuery’ was not declared in this scope
foutQuery(b)-Query(a-1)n;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !