Borderou de evaluare (job #1005903)

Utilizator florin.elfusFlorin Elfus florin.elfus Data 5 octombrie 2013 23:45:40
Problema Cumpanit Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:128:1: error: a function-definition is not allowed here before ‘{’ token { ^ user.cpp:121:5: warning: unused variable ‘p’ [-Wunused-variable] int p,x,y,sumafact=0,sumaexp=0,k,ca,cb; ^ user.cpp:121:7: warning: unused variable ‘x’ [-Wunused-variable] int p,x,y,sumafact=0,sumaexp=0,k,ca,cb; ^ user.cpp:121:9: warning: unused variable ‘y’ [-Wunused-variable] int p,x,y,sumafact=0,sumaexp=0,k,ca,cb; ^ user.cpp:121:11: warning: unused variable ‘sumafact’ [-Wunused-variable] int p,x,y,sumafact=0,sumaexp=0,k,ca,cb; ^ user.cpp:121:22: warning: unused variable ‘sumaexp’ [-Wunused-variable] int p,x,y,sumafact=0,sumaexp=0,k,ca,cb; ^ user.cpp:121:32: warning: unused variable ‘k’ [-Wunused-variable] int p,x,y,sumafact=0,sumaexp=0,k,ca,cb; ^ user.cpp:121:34: warning: unused variable ‘ca’ [-Wunused-variable] int p,x,y,sumafact=0,sumaexp=0,k,ca,cb; ^ user.cpp:121:37: warning: unused variable ‘cb’ [-Wunused-variable] int p,x,y,sumafact=0,sumaexp=0,k,ca,cb; ^ user.cpp:122:5: warning: unused variable ‘prime’ [-Wunused-variable] int prime[]={15,2,3,5,7,11,13,17,19,23,29,31,37,41,43,47}; ^ user.cpp:123:8: warning: unused variable ‘w’ [-Wunused-variable] double w=0; ^ user.cpp:124:11: warning: unused variable ‘cump’ [-Wunused-variable] long long cump[40000],a,b; ^ user.cpp:124:23: warning: unused variable ‘a’ [-Wunused-variable] long long cump[40000],a,b; ^ user.cpp:124:25: warning: unused variable ‘b’ [-Wunused-variable] long long cump[40000],a,b; ^ user.cpp:125:5: warning: unused variable ‘st’ [-Wunused-variable] int st[nmax],fact[nmax]; ^ user.cpp:125:14: warning: unused variable ‘fact’ [-Wunused-variable] int st[nmax],fact[nmax]; ^ user.cpp:230:1: error: expected ‘}’ at end of input

Ceva nu functioneaza?