Borderou de evaluare (job #1186139)

Utilizator UTCN_LAZAR_NITU_PETRUTAFrunza UTCN_LAZAR_NITU_PETRUTA Data 17 mai 2014 12:07:03
Problema Quadratum Status done
Runda ACM-ICPC Faza Nationala 2014-2015 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void Mult(char*, long long unsigned int)’: user.cpp:20:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] H[++H[0]]=T%10; ^ user.cpp: In function ‘long unsigned int Divide(char*, long long unsigned int)’: user.cpp:36:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] while (!A[A[0]] && A[0]>1) A[0]--; ^ user.cpp: In function ‘void AtribValue(char*, long long unsigned int)’: user.cpp:45:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] H[H[0]] = X % BASE; ^ user.cpp: In function ‘int main()’: user.cpp:58:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:59:28: error: ‘memset’ was not declared in this scope memset(v,0,sizeof(v)); ^ user.cpp:66:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld",v[i]); ^ user.cpp:51:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("quadratum.in","r",stdin); ^ user.cpp:52:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("quadratum.out","w",stdout); ^ user.cpp:54:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nrt); ^ user.cpp:58:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^

Ceva nu functioneaza?