Borderou de evaluare (job #2921395)

Utilizator christalknightChristian Micea christalknight Data 30 august 2022 17:39:42
Problema Divizori Primi Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:7:10: error: expected unqualified-id before string constant 7 | ofstream("divprim.out"); | ^~~~~~~~~~~~~ main.cpp:7:10: error: expected ')' before string constant 7 | ofstream("divprim.out"); | ~^~~~~~~~~~~~~ | ) main.cpp: In function 'int main()': main.cpp:32:17: error: 'fout' was not declared in this scope 32 | fout<<j<<"\n"; | ^~~~ main.cpp:37:13: error: 'fout' was not declared in this scope 37 | fout<<0<<"\n"; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?