Borderou de evaluare (job #1180647)

Utilizator cipriancxFMI - gr143 Timofte Ciprian cipriancx Data 30 aprilie 2014 20:49:01
Problema Paranteze2 Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:6:12: error: ‘LONG_LONG_MAX’ was not declared in this scope #define mx LONG_LONG_MAX ^ user.cpp:23:10: note: in expansion of macro ‘mx’ li start=mx,stop=mx,stiva=0; ^ user.cpp:30:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000001]’ [-Wformat=] scanf("%s",&sir); ^ user.cpp:54:32: error: ‘stop’ was not declared in this scope if(pp[i]==mx && start!=mx){ stop=i-1; if(stop-start==1){total++; } else{total+=parantezari(start,stop); } start=mx;} ^

Ceva nu functioneaza?