Borderou de evaluare (job #3211415)
Utilizator | Data | 9 martie 2024 11:55:17 | |
---|---|---|---|
Problema | Fold | 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:12:5: error: 'cnt' was not declared in this scope; did you mean 'int'?
12 | cnt = 0;
| ^~~
| int
main.cpp:13:10: error: 'p' was not declared in this scope
13 | for (p = 1; p < n; p++)
| ^
main.cpp:14:14: error: 'q' was not declared in this scope
14 | for (q = p + 1; q <= n; q++)
| ^
main.cpp:16:13: error: 'x' was not declared in this scope
16 | x = (a[p] & a[q]).count();
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !