Borderou de evaluare (job #3219557)
Utilizator | Data | 31 martie 2024 17:18:45 | |
---|---|---|---|
Problema | Sant | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:1: error: 'vector' does not name a type
4 | vector<int> r;
| ^~~~~~
main.cpp: In function 'void Afis(int, int)':
main.cpp:9:5: error: 'r' was not declared in this scope
9 | r.push_back(t[i][j]);
| ^
main.cpp: In function 'int main()':
main.cpp:13:5: error: 'fin' was not declared in this scope
13 | fin >> s >> n >> c;
| ^~~
main.cpp:31:24: error: 'fout' was not declared in this scope
31 | if(a[n][s] == inf) fout << "0";
| ^~~~
main.cpp:33:9: error: 'fout' was not declared in this scope
33 | fout << a[n][s] << "\n";
| ^~~~
main.cpp:36:14: error: 'r' was not declared in this scope
36 | sort(r.begin(), r.end());
| ^
main.cpp:36:9: error: 'sort' was not declared in this scope; did you mean 'short'?
36 | sort(r.begin(), r.end());
| ^~~~
| short
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !