Borderou de evaluare (job #1297145)

Utilizator topala.andreiTopala Andrei topala.andrei Data 21 decembrie 2014 18:36:36
Problema Numere 5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:20: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld", &n); ^ user.cpp:16:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld", &a); ^ user.cpp:27:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld ", min); ^ user.cpp:28:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld ", max); ^ user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numere5.in", "r", stdin); ^ user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numere5.out", "w", stdout); ^ user.cpp:12:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &n); ^ user.cpp:16:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &a); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
156ms436kbOK1050
20ms256kbOK10
364ms500kbOK10
436ms396kbOK10
588ms588kbOK10
6164ms292kbIncorect00
7200msDepăşitMemory limit exceeded.0
8232msDepăşitMemory limit exceeded.0
9216ms244kbIncorect0
10240ms496kbOK10
Punctaj total50

Ceva nu functioneaza?