Borderou de evaluare (job #2972302)
Utilizator | Data | 29 ianuarie 2023 00:44:46 | |
---|---|---|---|
Problema | Parantezare | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:1: error: 'vector' does not name a type
5 | vector <int> v;
| ^~~~~~
main.cpp: In function 'int main()':
main.cpp:17:9: error: 'strlen' was not declared in this scope
17 | n = strlen(s);
| ^~~~~~
main.cpp:3:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
2 | #include <fstream>
+++ |+#include <cstring>
3 |
main.cpp:22:13: error: 'v' was not declared in this scope
22 | v.push_back(i);
| ^
main.cpp:25:17: error: 'v' was not declared in this scope
25 | sol[v.back()] = i;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !