Borderou de evaluare (job #1676090)

Utilizator PraetorGrigorosoaia Florin Praetor Data 5 aprilie 2016 18:40:13
Problema Coco Chanel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:23:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in, "%ld", &r[i]); ^ user.cpp:20:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%ld%ld", &nr_of_roosters, &nr_of_hens); ^ user.cpp:23:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%ld", &r[i]); ^ user.cpp:26:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%ld", &h[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK10
20ms444kbOK10
34ms460kbOK10
44ms460kbOK10
5Depăşit1596kbTime limit exceeded.0
6Depăşit1604kbTime limit exceeded.0
7Depăşit1596kbTime limit exceeded.0
8Depăşit1604kbTime limit exceeded.0
9Depăşit1596kbTime limit exceeded.0
10Depăşit1596kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?