Borderou de evaluare (job #990879)
Utilizator | Data | 29 august 2013 09:52:57 | |
---|---|---|---|
Problema | Vila 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:20: error: ‘nr1’ was not declared in this scope
while (nr1 > 0 && a[maximum.getLast()] <= a[i]) {
^
user.cpp:13:33: error: ‘maximum’ was not declared in this scope
while (nr1 > 0 && a[maximum.getLast()] <= a[i]) {
^
user.cpp:18:13: error: ‘nr1’ was not declared in this scope
nr1++;
^
user.cpp:20:13: error: ‘maximum’ was not declared in this scope
maximum.addLast(i);
^
user.cpp:27:20: error: ‘nr2’ was not declared in this scope
while (nr2 > 0 && a[minimum.getLast()] >= a[i]) {
^
user.cpp:27:33: error: ‘minimum’ was not declared in this scope
while (nr2 > 0 && a[minimum.getLast()] >= a[i]) {
^
user.cpp:31:13: error: ‘nr2’ was not declared in this scope
nr2++;
^
user.cpp:32:13: error: ‘minimum’ was not declared in this scope
minimum.addLast(i);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !