Borderou de evaluare (job #1463111)

Utilizator theprdvtheprdv theprdv Data 20 iulie 2015 03:33:58
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:45: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:46: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:48: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/ccoZhWDG.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
10ms660kbKilled by signal 6(SIGABRT).0
236ms1312kbKilled by signal 6(SIGABRT).0
320ms1120kbKilled by signal 6(SIGABRT).0
440ms1324kbKilled by signal 6(SIGABRT).0
536ms1292kbIncorect0
644ms1244kbIncorect0
732ms980kbIncorect0
812ms980kbIncorect0
90ms580kbIncorect0
1016ms580kbIncorect0
Punctaj total0

Ceva nu functioneaza?