Borderou de evaluare (job #3210035)
Utilizator | Data | 4 martie 2024 15:08:59 | |
---|---|---|---|
Problema | Subsir crescator maximal | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:13: error: variable 'std::ifstream fin' has initializer but incomplete type
4 | ifstream fin("scmax.in");
| ^
main.cpp:5:14: error: variable 'std::ofstream fout' has initializer but incomplete type
5 | ofstream fout("scmax.out");
| ^
main.cpp:15:1: error: 'map' does not name a type
15 | map<int, int> pos;
| ^~~
main.cpp: In function 'void output(int)':
main.cpp:18:9: error: 'pos' was not declared in this scope
18 | if (pos[lastElement] == 0) {
| ^~~
main.cpp:22:12: error: 'pos' was not declared in this scope
22 | output(pos[lastElement]);
| ^~~
main.cpp: In function 'int main()':
main.cpp:39:17: error: 'pos' was not declared in this scope
39 | pos[nums[i]] = minValue[j];
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !