Borderou de evaluare (job #1501986)

Utilizator alexpetrescuAlexandru Petrescu alexpetrescu Data 14 octombrie 2015 00:38:26
Problema Dragon Ball Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void read(int*)’: user.cpp:62:25: 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(v, 0, sizeof v); ^ user.cpp: In function ‘void impart(int*, int*, int)’: user.cpp:115:25: 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 ‘int main()’: user.cpp:140:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d ", &n, &t); ^ user.cpp: In function ‘char nextch()’: user.cpp:14:37: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buf, BUF_SIZE, 1, fin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms324kbOK10
212ms8276kbOK10
30ms1092kbOK10
416ms8408kbOK10
50ms1088kbOK10
6236ms13360kbOK10
788ms1644kbOK10
8172ms6856kbOK10
9272ms13364kbOK10
10280ms13356kbOK10
Punctaj total100

Ceva nu functioneaza?