Borderou de evaluare (job #1447908)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 5 iunie 2015 18:39:01
Problema SETI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void Read_Text()’: user.cpp:39:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &n); ^ user.cpp:42:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(aux); ^ user.cpp: In function ‘void Set()’: user.cpp:63:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &m); ^ user.cpp:67:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets( Cuv[i] ); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:4: In function ‘char* gets(char*)’, inlined from ‘void Set()’ at user.cpp:67:23: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ /tmp/ccXWtoZF.o: In function `Set()': user.cpp:(.text+0x1b7): warning: the `gets' function is dangerous and should not be used. /tmp/ccXWtoZF.o: In function `Read_Text()': user.cpp:(.text+0x5b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
160ms372kbKilled by signal 11(SIGSEGV).0
24ms336kbOK10
312ms416kbOK10
424ms1092kbOK10
556ms3400kbKilled by signal 11(SIGSEGV).0
6112ms3440kbKilled by signal 11(SIGSEGV).0
7196ms3464kbKilled by signal 11(SIGSEGV).0
8380ms50820kbOK10
9352ms57540kbKilled by signal 11(SIGSEGV).0
10240ms5056kbKilled by signal 11(SIGSEGV).0
Punctaj total40

Ceva nu functioneaza?