Borderou de evaluare (job #1457135)

Utilizator diac_paulPaul Diac diac_paul Data 2 iulie 2015 19:13:28
Problema Aria Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:25:38: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 3 has type ‘long double*’ [-Wformat=] fscanf(fin, "%lf %lf", &x[i], &y[i]); ^ user.cpp:25:38: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 4 has type ‘long double*’ [-Wformat=] user.cpp:34:38: warning: format ‘%lf’ expects argument of type ‘double’, but argument 3 has type ‘long double’ [-Wformat=] fprintf(fout, "%.10lf\n", area / 2.0); ^ user.cpp:22:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.cpp:25:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%lf %lf", &x[i], &y[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms308kbMai incearca !0
20ms312kbMai incearca !0
34ms340kbMai incearca !0
44ms336kbMai incearca !0
552ms552kbMai incearca !0
660ms576kbMai incearca !0
7Depăşit2152kbTime limit exceeded.0
8Depăşit2076kbTime limit exceeded.0
9Depăşit2616kbTime limit exceeded.0
10Depăşit2616kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?