Borderou de evaluare (job #1876836)

Utilizator tiberiu225Iancu Tiberiu tiberiu225 Data 12 februarie 2017 17:55:40
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void Transformare(char*)’: user.cpp:18:9: warning: unused variable ‘num’ [-Wunused-variable] int num = 0; ^ user.cpp: In function ‘bool Verif(char, char)’: user.cpp:62:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:232:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bool.in","r",stdin); ^ user.cpp:233:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bool.out","w",stdout); ^ user.cpp:235:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(w); ^ user.cpp:239:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int n; scanf("%d\n", &n); ^ user.cpp:240:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(w); ^ /tmp/ccYY2bFK.o: In function `main': user.cpp:(.text.startup+0x54): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms456kbOK10
20ms412kbKilled by signal 11(SIGSEGV).0
30ms412kbKilled by signal 11(SIGSEGV).0
40ms408kbKilled by signal 11(SIGSEGV).0
50ms412kbKilled by signal 11(SIGSEGV).0
60ms412kbKilled by signal 11(SIGSEGV).0
70ms412kbKilled by signal 11(SIGSEGV).0
80ms412kbKilled by signal 11(SIGSEGV).0
90ms412kbKilled by signal 11(SIGSEGV).0
100ms412kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?