Borderou de evaluare (job #948501)

Utilizator alexblackFMI - Dumitrache Alexandru alexblack Data 10 mai 2013 17:54:44
Problema Split Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:24:33: error: empty character constant if(total<maxim) continue'' ^ user.cpp: In function ‘int split(int, int)’: user.cpp:12:19: error: ‘v’ was not declared in this scope total=abs(v[x]-v[i])+abs(v[y]-v[i]); ^ user.cpp:13:18: error: ‘maxim’ was not declared in this scope if(total<maxim) continue; ^ user.cpp:15:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:18:9: error: ‘n’ was not declared in this scope in>>n; int total; ^ user.cpp:20:13: error: ‘v’ was not declared in this scope in>>v[i]; ^ user.cpp:24:18: error: ‘maxim’ was not declared in this scope if(total<maxim) continue'' ^ user.cpp:24:33: error: expected ‘;’ before '\x0' if(total<maxim) continue'' ^ user.cpp:25:9: error: expected ‘;’ before ‘maxim’ maxim=total; ^ user.cpp:25:20: warning: statement has no effect [-Wunused-value] maxim=total; ^ user.cpp:26:9: error: ‘resi’ was not declared in this scope resi=i; ^ user.cpp:26:14: error: ‘i’ was not declared in this scope resi=i; ^ user.cpp:27:9: error: ‘resj’ was not declared in this scope resj=j; ^ user.cpp:28:9: error: ‘resk’ was not declared in this scope resk=k; ^ user.cpp:28:14: error: ‘k’ was not declared in this scope resk=k; ^ user.cpp:30:10: error: ‘maxim’ was not declared in this scope out<<maxim<<"\n"<<resi<<"\n"<<resj<<"\n"<<resk<<"\n"; ^

Ceva nu functioneaza?