Borderou de evaluare (job #3278562)
Utilizator | Data | 20 februarie 2025 10:01:40 | |
---|---|---|---|
Problema | Take 5 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:27:1: error: 'vector' does not name a type
27 | vector<int> a;
| ^~~~~~
main.cpp: In function 'void checkIfPairCanMakeSum(int, int&, int&, int)':
main.cpp:33:19: error: 'a' was not declared in this scope
33 | int sum = a[i] + a[j];
| ^
main.cpp: In function 'void solve()':
main.cpp:52:5: error: 'a' was not declared in this scope
52 | a.resize(n + 1);
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !