Borderou de evaluare (job #1298486)

Utilizator topala.andreiTopala Andrei topala.andrei Data 22 decembrie 2014 21:05:01
Problema Ciurul lui Eratosthenes Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld", &n); ^ user.cpp:18:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld", &auxi); ^ user.cpp:26:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld ", i); ^ user.cpp:32:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld ", i); ^ user.cpp:9: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:10: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:12:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &n); ^ user.cpp:18: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
18ms224kbFisier de iesire lipsa0
28ms220kbFisier de iesire lipsa0
30ms216kbKilled by signal 11(SIGSEGV).0
40ms224kbKilled by signal 11(SIGSEGV).0
50ms220kbKilled by signal 11(SIGSEGV).0
68ms228kbFisier de iesire lipsa0
78ms224kbFisier de iesire lipsa0
88ms228kbFisier de iesire lipsa0
98ms224kbFisier de iesire lipsa0
100ms216kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?