Borderou de evaluare (job #2083324)

Utilizator akaprosAna Kapros akapros Data 7 decembrie 2017 16:03:16
Problema Arie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:154:32: warning: format ‘%Lf’ expects argument of type ‘long double’, but argument 2 has type ‘double’ [-Wformat=] printf("%.3Lf\n", 0.5 * ans); ^ user.cpp:85:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:87:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf %lf", &p1[i].x, &p1[i].y); ^ user.cpp:90:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &M); ^ user.cpp:93:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf %lf", &p2[i].x, &p2[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms488kbOK10
20ms532kbIncorect0
30ms540kbIncorect0
40ms496kbIncorect0
54ms564kbIncorect0
60ms540kbIncorect0
70ms532kbIncorect0
80ms492kbIncorect0
90ms572kbIncorect0
100ms492kbIncorect0
Punctaj total10

Ceva nu functioneaza?