Borderou de evaluare (job #3356506)
| Utilizator | Data | 1 iunie 2026 22:41:10 | |
|---|---|---|---|
| Problema | Det | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:8:16: error: 'vector' was not declared in this scope
8 | typedef vector<vector<sint>> matrix;
| ^~~~~~
main.cpp:4:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
3 | #include <iostream>
+++ |+#include <vector>
4 |
main.cpp:8:16: error: 'vector' was not declared in this scope
8 | typedef vector<vector<sint>> matrix;
| ^~~~~~
main.cpp:8:16: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:8:16: error: 'vector' was not declared in this scope
main.cpp:8:16: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:8:16: error: 'vector' was not declared in this scope
main.cpp:8:16: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:8:16: error: 'vector' was not declared in this scope
main.cpp:8:16: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:8:16: error: 'vector' was not declared in this scope
main.cpp:8:16: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:8:9: error: 'vector' does not name a type
8 | typedef vector<vector<sint>> matrix;
| ^~~~~~
main.cpp:11:5: error: 'matrix' does not name a type
11 | matrix a11, a12, a21, a22;
| ^~~~~~
main.cpp:23:1: error: 'matrix' does not name a type
23 | matrix In, On;
| ^~~~~~
main.cpp:27:6: error: variable or field 'init' declared void
27 | void init(matrix &M){
| ^~~~
main.cpp:27:11: error: 'matrix' was not declared in this scope
27 | void init(matrix &M){
| ^~~~~~
main.cpp:27:19: error: 'M' was not declared in this scope
27 | void init(matrix &M){
| ^
main.cpp: In function 'void make_In()':
main.cpp:32:10: error: 'In' was not declared in this scope; did you mean 'n'?
32 | init(In);
| ^~
| n
main.cpp:32:5: error: 'init' was not declared in this scope; did you mean 'int'?
32 | init(In);
| ^~~~
| int
main.cpp: In function 'void make_On()':
main.cpp:36:10: error: 'On' was not declared in this scope; did you mean 'n'?
36 | init(On);
| ^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
