Borderou de evaluare (job #1073334)

Utilizator poptibiPop Tiberiu poptibi Data 5 ianuarie 2014 23:10:34
Problema Free Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void atrh(int*, int*)’: user.cpp:52:24: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(A, 0, sizeof(A)); ^ user.cpp: In function ‘void atr0(int*)’: user.cpp:59:24: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(A, 0, sizeof(A)); ^ user.cpp: In function ‘void radical_2_cautare_binara(int*, int*)’: user.cpp:90:27: warning: unused variable ‘B’ [-Wunused-variable] int cnt[MAX], A[MAX], B[MAX]; ^ /tmp/ccZGmPfJ.o: In function `main': user.cpp:(.text.startup+0x4c): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbOK10
20ms232kbOK10
34ms236kbOK10
44ms232kbOK10
54ms232kbOK10
60ms236kbOK10
78ms232kbOK10
88ms232kbOK10
912ms232kbOK10
1012ms232kbOK10
Punctaj total100

Ceva nu functioneaza?