Borderou de evaluare (job #1457137)

Utilizator diac_paulPaul Diac diac_paul Data 2 iulie 2015 19:14:05
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:37: warning: format ‘%lf’ expects argument of type ‘double’, but argument 3 has type ‘long double’ [-Wformat=] fprintf(fout, "%.6lf\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
10ms304kbMai incearca !0
20ms308kbMai incearca !0
34ms336kbMai incearca !0
44ms336kbMai incearca !0
552ms552kbMai incearca !0
660ms580kbMai incearca !0
7Depăşit2152kbTime limit exceeded.0
8Depăşit2068kbTime limit exceeded.0
9Depăşit2616kbTime limit exceeded.0
10Depăşit2616kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?