Borderou de evaluare (job #2064003)

Utilizator CleliaClelia Maria Dobrescu Clelia Data 11 noiembrie 2017 18:03:00
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/ccpSvLuU.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
10ms272kbOK10
20ms276kbOK10
30ms276kbOK10
40ms284kbOK10
50ms284kbOK10
68ms552kbOK10
74ms440kbOK10
8Depăşit3400kbTime limit exceeded.0
9Depăşit4932kbTime limit exceeded.0
10Depăşit3648kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?