Borderou de evaluare (job #1742586)

Utilizator moise_alexandruMoise Alexandru moise_alexandru Data 16 august 2016 17:36:18
Problema Noroc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:26: warning: format ‘%Lf’ expects argument of type ‘long double’, but argument 2 has type ‘int’ [-Wformat=] printf("%.7Lf", 0); ^ user.cpp:13:26: warning: format ‘%Lf’ expects argument of type ‘long double’, but argument 2 has type ‘int’ [-Wformat=] printf("%.7Lf", 1); ^ user.cpp:6:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("noroc.in", "r", stdin); ^ user.cpp:7:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("noroc.out", "w", stdout); ^ user.cpp:9:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &m); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK10
20ms292kbOK10
30ms292kbOK10
40ms288kbOK10
50ms292kbOK10
60ms292kbOK10
70ms292kbOK10
80ms292kbOK10
90ms292kbOK10
100ms292kbOK10
Punctaj total100

Ceva nu functioneaza?