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