Borderou de evaluare (job #2857795)
Utilizator | Data | 26 februarie 2022 12:49:19 | |
---|---|---|---|
Problema | Maxd | Status | done |
Runda | tp2 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:3: error: stray '#' in program
1 | vv#include <fstream>
| ^
main.cpp:1:1: error: 'vv' does not name a type
1 | vv#include <fstream>
| ^~
main.cpp:3:1: error: 'ifstream' does not name a type
3 | ifstream fin("maxd.in");
| ^~~~~~~~
main.cpp:4:1: error: 'ofstream' does not name a type
4 | ofstream fout("maxd.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:11:5: error: 'fin' was not declared in this scope
11 | fin>>a>>b;
| ^~~
main.cpp:18:10: error: 'cnt' was not declared in this scope; did you mean 'int'?
18 | cnt++;
| ^~~
| int
main.cpp:20:14: error: 'cnt' was not declared in this scope; did you mean 'int'?
20 | r=r*(cnt+1);
| ^~~
| int
main.cpp:22:26: error: 'n' was not declared in this scope
22 | for(int j=3; j*j<n; j+=2)
| ^
main.cpp:45:5: error: 'fout' was not declared in this scope
45 | fout<<rez_1<<" "<<rez_2<<" "<<rez_3;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !