Borderou de evaluare (job #1630571)

Utilizator MAlexandruMatei Alexandru MAlexandru Data 5 martie 2016 10:07:52
Problema Jetoane Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:13:10: error: stray ‘#’ in program fscan#include<fstream> ^ user.cpp: In function ‘int main()’: user.cpp:13:5: error: ‘fscan’ was not declared in this scope fscan#include<fstream> ^ user.cpp:13:11: error: expected ‘;’ before ‘include’ fscan#include<fstream> ^ user.cpp:18:11: error: variable ‘std::ifstream f’ has initializer but incomplete type ifstream f("calcule.in"); ^ user.cpp:19:11: error: variable ‘std::ofstream g’ has initializer but incomplete type ofstream g("calcule.out"); ^ user.cpp:20:14: error: a function-definition is not allowed here before ‘{’ token int bs(int a){ ^ user.cpp:16:5: warning: unused variable ‘n’ [-Wunused-variable] int n,k,v[100010],i,sol,x,t,r[50010],s; ^ user.cpp:16:7: warning: unused variable ‘k’ [-Wunused-variable] int n,k,v[100010],i,sol,x,t,r[50010],s; ^ user.cpp:16:9: warning: unused variable ‘v’ [-Wunused-variable] int n,k,v[100010],i,sol,x,t,r[50010],s; ^ user.cpp:16:19: warning: unused variable ‘i’ [-Wunused-variable] int n,k,v[100010],i,sol,x,t,r[50010],s; ^ user.cpp:16:21: warning: unused variable ‘sol’ [-Wunused-variable] int n,k,v[100010],i,sol,x,t,r[50010],s; ^ user.cpp:16:25: warning: unused variable ‘x’ [-Wunused-variable] int n,k,v[100010],i,sol,x,t,r[50010],s; ^ user.cpp:16:27: warning: unused variable ‘t’ [-Wunused-variable] int n,k,v[100010],i,sol,x,t,r[50010],s; ^ user.cpp:16:29: warning: unused variable ‘r’ [-Wunused-variable] int n,k,v[100010],i,sol,x,t,r[50010],s; ^ user.cpp:16:38: warning: unused variable ‘s’ [-Wunused-variable] int n,k,v[100010],i,sol,x,t,r[50010],s; ^ user.cpp:17:20: warning: unused variable ‘sol1’ [-Wunused-variable] unsigned long long sol1; ^ user.cpp:63:1: error: expected ‘}’ at end of input

Ceva nu functioneaza?