Borderou de evaluare (job #1463109)

Utilizator theprdvtheprdv theprdv Data 20 iulie 2015 03:18:26
Problema Ograzi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:19:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(b); ^ user.cpp: In function ‘int main()’: user.cpp:41:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ograzi.in", "r", stdin); ^ user.cpp:42:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ograzi.out", "w", stdout); ^ user.cpp:44:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d\n", &N, &M, &W, &H); ^ /tmp/ccbUyeuj.o: In function `read()': user.cpp:(.text+0x46): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms8164kbKilled by signal 6(SIGABRT).0
268ms8944kbKilled by signal 6(SIGABRT).0
336ms8948kbKilled by signal 6(SIGABRT).0
432ms8744kbKilled by signal 11(SIGSEGV).0
560ms8804kbKilled by signal 11(SIGSEGV).0
636ms8960kbKilled by signal 11(SIGSEGV).0
724ms8520kbKilled by signal 11(SIGSEGV).0
820ms8524kbKilled by signal 11(SIGSEGV).0
98ms8056kbKilled by signal 11(SIGSEGV).0
108ms8056kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?