Borderou de evaluare (job #2082578)

Utilizator akaprosAna Kapros akapros Data 6 decembrie 2017 16:11:52
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:133: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:78:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:80: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:83:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &M); ^ user.cpp:85: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
10ms472kbOK10
20ms476kbIncorect0
30ms508kbIncorect0
40ms484kbIncorect0
512ms540kbIncorect0
60ms528kbIncorect0
70ms520kbIncorect0
80ms480kbIncorect0
94ms552kbIncorect0
100ms480kbIncorect0
Punctaj total10

Ceva nu functioneaza?