Borderou de evaluare (job #1389197)

Utilizator pepsiM4A1Ozturk Arif pepsiM4A1 Data 16 martie 2015 08:47:43
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:39: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:39:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘unsigned char*’ [-Wformat=] user.cpp:43: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:38: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:39: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:43: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
10ms256kbRaspuns gresit0
20ms260kbRaspuns gresit0
30ms260kbRaspuns gresit0
40ms260kbRaspuns gresit0
50ms260kbRaspuns gresit0
6Depăşit244kbTime limit exceeded.0
7Depăşit244kbTime limit exceeded.0
8Depăşit240kbTime limit exceeded.0
9Depăşit240kbTime limit exceeded.0
10Depăşit240kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?