Borderou de evaluare (job #1297146)

Utilizator topala.andreiTopala Andrei topala.andrei Data 21 decembrie 2014 18:38:49
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:10:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld", &n); ^ user.cpp:16:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld", &auxi); ^ user.cpp:24:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld ", i); ^ user.cpp:30:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld ", i); ^ user.cpp:7:35: 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:8:37: 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:10:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &n); ^ user.cpp:16:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &auxi); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
152ms440kbOK1050
20ms252kbOK10
372ms500kbOK10
440ms396kbOK10
596ms604kbOK10
680ms288kbIncorect00
7124msDepăşitMemory limit exceeded.0
8112msDepăşitMemory limit exceeded.0
972ms256kbIncorect0
10104ms492kbOK10
Punctaj total50

Ceva nu functioneaza?