Borderou de evaluare (job #1236873)

Utilizator YoChinezuWeng Mihai Alexandru YoChinezu Data 2 octombrie 2014 18:57:48
Problema Next Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:108: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:109: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:115:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^ user.cpp: In constructor ‘HUGE::HUGE(bool)’: user.cpp:15:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccETjwIQ.o: In function `main': user.cpp:(.text.startup+0x61): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms476kbOK10
20ms480kbOK10
30ms488kbOK10
40ms524kbOK10
50ms516kbKilled by signal 11(SIGSEGV).0
60ms500kbKilled by signal 11(SIGSEGV).0
70ms656kbKilled by signal 11(SIGSEGV).0
84ms1056kbKilled by signal 11(SIGSEGV).0
94ms1284kbKilled by signal 11(SIGSEGV).0
104ms1372kbKilled by signal 11(SIGSEGV).0
Punctaj total40

Ceva nu functioneaza?