Borderou de evaluare (job #1715866)

Utilizator cristina_borzaCristina Borza cristina_borza Data 11 iunie 2016 16:15:01
Problema Nunta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] B[++B[0]] = t % BASE; ^ user.cpp:41:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] fprintf(g , "%d", (short int)A[A[0]]); ^ user.cpp: In function ‘void adun(char*, char*, char*)’: user.cpp:64:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] A[++A[0]] = t % BASE; ^ user.cpp: In function ‘void afis(char*)’: user.cpp:82:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] fprintf(g , "%d", A[A[0]]); ^ user.cpp: In function ‘int main()’: user.cpp:18:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f , "%hd" , &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10msDepăşitMemory limit exceeded.0
20ms256kbOK10
30ms256kbOK10
40msDepăşitMemory limit exceeded.0
50ms256kbOK10
60msDepăşitMemory limit exceeded.0
70ms256kbOK10
80msDepăşitMemory limit exceeded.0
90ms252kbOK10
100ms252kbOK10
Punctaj total60

Ceva nu functioneaza?