Borderou de evaluare (job #1473684)

Utilizator stoianmihailStoian Mihail stoianmihail Data 19 august 2015 23:39:23
Problema Banana Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:119:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in,"%d %d",&x,&y); ^ user.cpp:119:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp: In function ‘void write()’: user.cpp:127:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out,"%d",nb); ^ user.cpp: In function ‘void read()’: user.cpp:117:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d %d",&nr,&k); ^ user.cpp:119:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d %d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms400kbOK10
20ms428kbOK10
30ms488kbOK10
4Depăşit712kbTime limit exceeded.0
540ms960kbOK10
616ms1080kbOK10
720ms1116kbOK10
8Depăşit1112kbTime limit exceeded.0
920ms1132kbOK10
1016ms1116kbOK10
Punctaj total80

Ceva nu functioneaza?