Borderou de evaluare (job #1522300)

Utilizator valentin50517Vozian Valentin valentin50517 Data 11 noiembrie 2015 16:07:17
Problema Chiftea Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:3:7: error: expected nested-name-specifier before ‘namesapce’ using namesapce std; ^ user.cpp:3:7: error: ‘namesapce’ has not been declared user.cpp:3:17: error: expected ‘;’ before ‘std’ using namesapce std; ^ user.cpp:3:17: error: ‘std’ does not name a type user.cpp:4:1: error: ‘ifstream’ does not name a type ifstream fin("chifteea.in"); ^ user.cpp:5:1: error: ‘ofstream’ does not name a type ofstream fout("chiftea.out"); ^ user.cpp: In function ‘int main()’: user.cpp:9:6: error: ‘cin’ was not declared in this scope for(cin >> t; t;t--){ ^ user.cpp:11:18: error: ‘sqrt’ was not declared in this scope l = (int)sqrt(n); ^ user.cpp:16:3: error: ‘cout’ was not declared in this scope cout << r << '\n'; ^

Ceva nu functioneaza?