Borderou de evaluare (job #1417844)

Utilizator figure0907Andrei Gonczi figure0907 Data 11 aprilie 2015 11:23:23
Problema Copaci Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void readdata()’: user.cpp:17:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%I64d",&n); ^ user.cpp:20:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%I64d%I64d",&v[i].x,&v[i].y); ^ user.cpp:20:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp: In function ‘void writedata()’: user.cpp:67:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(f,"%I64d",d); ^ user.cpp: In function ‘void readdata()’: user.cpp:17:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%I64d",&n); ^ user.cpp:20:47: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%I64d%I64d",&v[i].x,&v[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOkay!10
20ms280kbOkay!10
30ms300kbOkay!10
48ms336kbOkay!10
520ms412kbWrong answer0
636ms556kbWrong answer0
752ms668kbWrong answer0
8Depăşit1044kbTime limit exceeded.0
9Depăşit1140kbTime limit exceeded.0
10Depăşit912kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?