Borderou de evaluare (job #2063997)

Utilizator CleliaClelia Maria Dobrescu Clelia Data 11 noiembrie 2017 17:59:44
Problema Trompeta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:5:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("trompeta.in","r",stdin); ^ user.cpp:6:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("trompeta.out","w",stdout); ^ user.cpp:8:28: 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:9:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s); ^ /tmp/cc8N569R.o: In function `main': user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK10
20ms280kbOK10
30ms284kbOK10
40ms280kbOK10
50ms280kbOK10
68ms544kbOK10
74ms440kbOK10
8Depăşit3400kbTime limit exceeded.0
9Depăşit4928kbTime limit exceeded.0
10Depăşit3640kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?