Borderou de evaluare (job #1604829)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 18 februarie 2016 16:58:00
Problema Morcovi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("morcovi.in", "r", stdin); ^ user.cpp:26:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("morcovi.out", "w", stdout); ^ user.cpp:30:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:31:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(buff); ^ user.cpp:35:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &p); ^ user.cpp:36:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(buff); ^ /tmp/ccZmOEtL.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms392kbOK10
20ms340kbKilled by signal 6(SIGABRT).0
30ms336kbKilled by signal 6(SIGABRT).0
40ms340kbKilled by signal 6(SIGABRT).0
50ms676kbOK10
60ms332kbKilled by signal 6(SIGABRT).0
70ms336kbKilled by signal 6(SIGABRT).0
80ms336kbKilled by signal 6(SIGABRT).0
90ms340kbKilled by signal 6(SIGABRT).0
100ms340kbKilled by signal 6(SIGABRT).0
Punctaj total20

Ceva nu functioneaza?