Borderou de evaluare (job #2247593)

Utilizator AndreiPanaAndrei Alexandru Pana AndreiPana Data 28 septembrie 2018 20:21:28
Problema Numere Prime Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:3:1: error: ‘ifstream’ does not name a type ifstream in("prim.in"); ^~~~~~~~ user.cpp:4:1: error: ‘ofstream’ does not name a type ofstream out("prim.out"); ^~~~~~~~ user.cpp: In function ‘int main()’: user.cpp:16:5: error: ‘in’ was not declared in this scope in>>k; ^~ user.cpp:33:5: error: ‘out’ was not declared in this scope out<<(long long)x*x; ^~~ user.cpp:14:12: warning: unused variable ‘n’ [-Wunused-variable] int k, n, z=0; ^ user.cpp:14:15: warning: unused variable ‘z’ [-Wunused-variable] int k, n, z=0; ^

Ceva nu functioneaza?