Borderou de evaluare (job #1748311)

Utilizator MarutBrabete Marius Stelian Marut Data 26 august 2016 12:08:13
Problema Next Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:62:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("next.in","r",stdin); ^ user.cpp:63:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("next.out","w",stdout); ^ user.cpp:65:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:66:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&d); //lld cand trimit ^ /tmp/ccrwSG9r.o: In function `main': user.cpp:(.text.startup+0x59): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK10
20ms284kbOK10
30ms280kbOK10
40ms260kbKilled by signal 11(SIGSEGV).0
50ms276kbKilled by signal 11(SIGSEGV).0
60ms344kbKilled by signal 11(SIGSEGV).0
70ms500kbKilled by signal 11(SIGSEGV).0
84ms900kbKilled by signal 11(SIGSEGV).0
94ms1128kbKilled by signal 11(SIGSEGV).0
104ms1220kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?