Borderou de evaluare (job #1501967)

Utilizator alexpetrescuAlexandru Petrescu alexpetrescu Data 13 octombrie 2015 23:48:49
Problema Dragon Ball Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void read(int*)’: user.cpp:61: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:100: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:125: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:13: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
10ms308kbOK10
212ms8308kbIncorect0
34ms1104kbOK10
420ms9024kbOK10
54ms1100kbOK10
6Depăşit66772kbTime limit exceeded.0
7Depăşit8248kbTime limit exceeded.0
8Depăşit39504kbTime limit exceeded.0
9Depăşit67476kbTime limit exceeded.0
10Depăşit66308kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?