Borderou de evaluare (job #1186115)

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

Raport evaluator

Compilare: user.cpp: In function ‘void Mult(char*, 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 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 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:62:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:55: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:56: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:58:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nrt); ^ user.cpp:62:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms428kbIncorect0
Punctaj total0

Ceva nu functioneaza?