Borderou de evaluare (job #1389202)

Utilizator pepsiM4A1Ozturk Arif pepsiM4A1 Data 16 martie 2015 08:57:38
Problema Shop Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘unsigned char*’ [-Wformat=] fscanf(fin,"%d%d%lld",&n,&c,&l); ^ user.cpp:24:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘unsigned char*’ [-Wformat=] user.cpp:28:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘unsigned char*’ [-Wformat=] fscanf(fin,"%d%d",&arr[i],&bx); ^ user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("shop.out","w",stdout); ^ user.cpp:24:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d%lld",&n,&c,&l); ^ user.cpp:28:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d",&arr[i],&bx); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbRaspuns gresit0
20ms256kbRaspuns gresit0
30ms256kbRaspuns gresit0
40ms260kbRaspuns gresit0
50ms256kbRaspuns gresit0
60ms260kbRaspuns gresit0
70ms256kbRaspuns gresit0
80ms256kbRaspuns gresit0
90ms252kbRaspuns gresit0
100ms256kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?