Borderou de evaluare (job #1748475)

Utilizator binicBinica Nicolae binic Data 26 august 2016 13:25:27
Problema Superbec Status done
Runda Junior Challenge 2016 Runda 1 Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘char stare(char)’: user.cpp:15:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘char stareprec(char)’: user.cpp:21:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:50:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("superbec.in","r",stdin); ^ user.cpp:51:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("superbec.out","w",stdout); ^ user.cpp:52:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&Q); ^ user.cpp:55:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&n,&m); ^ user.cpp:56:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccSE2obP.o: In function `main': user.cpp:(.text.startup+0x9a): warning: the `gets' function is dangerous and should not be used.
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18ms280kbOK1020
232ms280kbOK10
336ms8432kbKilled by signal 11(SIGSEGV).00
4Depăşit3576kbTime limit exceeded.0
592ms8432kbKilled by signal 11(SIGSEGV).0
624ms8432kbKilled by signal 11(SIGSEGV).00
772ms8432kbKilled by signal 11(SIGSEGV).0
8Depăşit608kbTime limit exceeded.00
9Depăşit600kbTime limit exceeded.0
10Depăşit604kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?