Borderou de evaluare (job #1103932)
Utilizator | Data | 10 februarie 2014 09:43:15 | |
---|---|---|---|
Problema | Capitala | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:18:1: error: expected ‘,’ or ‘;’ before ‘int’
int n, min, mm=((1<<30)-1)*2, maximcur, maxim[mx],cur,I;
^
user.cpp: In function ‘void citire()’:
user.cpp:24:5: error: ‘n’ was not declared in this scope
f>>n;
^
user.cpp: In function ‘void df(int, int)’:
user.cpp:37:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<G[x].size();i++)
^
user.cpp:45:5: error: ‘maxim’ was not declared in this scope
maxim[cur] += adancime;
^
user.cpp:45:11: error: ‘cur’ was not declared in this scope
maxim[cur] += adancime;
^
user.cpp: In function ‘void Write()’:
user.cpp:54:17: error: ‘n’ was not declared in this scope
for(int i=1;i<=n;i++)
^
user.cpp:56:6: error: ‘maxim’ was not declared in this scope
if(maxim[i]<mm)
^
user.cpp:56:15: error: ‘mm’ was not declared in this scope
if(maxim[i]<mm)
^
user.cpp:59:4: error: ‘I’ was not declared in this scope
I=i;
^
user.cpp:62:8: error: ‘I’ was not declared in this scope
cout<<I<<" "<<mm;
^
user.cpp:62:16: error: ‘mm’ was not declared in this scope
cout<<I<<" "<<mm;
^
user.cpp: In function ‘int main()’:
user.cpp:67:17: error: ‘n’ was not declared in this scope
for(int i=1;i<=n;i++)
^
user.cpp:70:3: error: ‘cur’ was not declared in this scope
cur = i;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !