Borderou de evaluare (job #1460805)
| Utilizator | Data | 13 iulie 2015 22:58:30 | |
|---|---|---|---|
| Problema | Cautare binara | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int sbin0(int)’:
user.cpp:12:25: error: ‘sbin’ was not declared in this scope
sbin(k + k/2);
^
user.cpp:15:29: error: ‘sbin’ was not declared in this scope
sbin(k - k/2);
^
user.cpp:18:33: error: ‘sbin’ was not declared in this scope
sbin(k+1);
^
user.cpp: In function ‘int sbin1(int)’:
user.cpp:28:21: error: ‘sbin’ was not declared in this scope
sbin(k + k/2);
^
user.cpp:31:25: error: ‘sbin’ was not declared in this scope
sbin(k - k/2);
^
user.cpp:34:29: error: ‘sbin’ was not declared in this scope
sbin(k+1);
^
user.cpp: In function ‘int sbin2(int)’:
user.cpp:43:21: error: ‘sbin’ was not declared in this scope
sbin(k + k/2);
^
user.cpp:46:25: error: ‘sbin’ was not declared in this scope
sbin(k - k/2);
^
user.cpp:49:29: error: ‘sbin’ was not declared in this scope
sbin(k-1);
^
user.cpp: In function ‘int sbin0(int)’:
user.cpp:25:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int sbin1(int)’:
user.cpp:40:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int sbin2(int)’:
user.cpp:55:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
