Borderou de evaluare (job #1297154)

Utilizator topala.andreiTopala Andrei topala.andrei Data 21 decembrie 2014 18:46:05
Problema Numere 5 Status done
Runda Arhiva de probleme 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 Punctaj/grupa
112ms216kbKilled by signal 11(SIGSEGV).00
20ms244kbOK10
316ms216kbKilled by signal 11(SIGSEGV).0
40ms224kbWall time limit exceeded.0
54ms220kbWall time limit exceeded.0
64ms224kbWall time limit exceeded.00
712ms220kbKilled by signal 11(SIGSEGV).0
812ms216kbKilled by signal 11(SIGSEGV).0
980ms240kbKilled by signal 11(SIGSEGV).0
1040ms216kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?