Borderou de evaluare (job #2418107)
Utilizator | Data | 3 mai 2019 16:44:59 | |
---|---|---|---|
Problema | Elementul majoritar | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:26:13: error: 'el' was not declared in this scope
if(!el || tmp == el) int fr = ++um[tmp];
^~
main.cpp:26:34: warning: unused variable 'fr' [-Wunused-variable]
if(!el || tmp == el) int fr = ++um[tmp];
^~
main.cpp:28:21: error: 'fr' was not declared in this scope
if(!elem && fr >= maj) elem = tmp;
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !