Borderou de evaluare (job #3157889)
Utilizator | Data | 17 octombrie 2023 11:31:46 | |
---|---|---|---|
Problema | Xspe | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:1: error: expected ',' or ';' before 'ofstream'
4 | ofstream g("xspe.out")
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:10:8: error: 'n' was not declared in this scope
10 | f>>n;
| ^
main.cpp:13:9: error: 'g' was not declared in this scope
13 | g<<"v["<<i<<"]=";
| ^
main.cpp:14:8: error: 'v' was not declared in this scope
14 | f>>v[i];
| ^
main.cpp:16:6: error: 'k' was not declared in this scope
16 | k=1;
| ^
main.cpp:17:5: error: 'st' was not declared in this scope; did you mean 'std'?
17 | st[k]=v[n];
| ^~
| std
main.cpp:17:11: error: 'v' was not declared in this scope
17 | st[k]=v[n];
| ^
main.cpp:18:5: error: 'poz' was not declared in this scope
18 | poz[n]=v[n];
| ^~~
main.cpp:31:5: error: 'g' was not declared in this scope
31 | g<<poz[i]<<" ";
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !