Borderou de evaluare (job #3362735)
| Utilizator | Data | 12 august 2026 08:42:06 | |
|---|---|---|---|
| Problema | Elementul majoritar | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:15:5: error: 'nr' was not declared in this scope
15 | nr++ ;
| ^~
main.cpp:17:9: error: 'nr' was not declared in this scope
17 | if (nr>=N/2+1) {
| ^~
main.cpp:21:5: error: 'nr' was not declared in this scope
21 | nr=1 ;
| ^~
main.cpp:24:9: error: 'nr' was not declared in this scope
24 | if (nr>=N/2+1)
| ^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
