Borderou de evaluare (job #1228824)

Utilizator t.g.g.tt.g.g.t t.g.g.t Data 15 septembrie 2014 16:58:19
Problema Roy-Floyd Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rf.in","r",stdin); ^ user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rf.out","w",stdout); ^ user.cpp:17:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:20:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(c); c[strlen(c)+1]='\0'; c[strlen(c)]=' '; ^ /tmp/ccecgx45.o: In function `main': user.cpp:(.text.startup+0xa0): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbOK5
20ms440kbOK5
30ms472kbIncorect0
40ms480kbIncorect0
54ms700kbIncorect0
64ms696kbIncorect0
724ms964kbIncorect0
824ms960kbIncorect0
924ms956kbIncorect0
1024ms952kbIncorect0
11Depăşit1472kbTime limit exceeded.0
12Depăşit1468kbTime limit exceeded.0
13Depăşit1468kbTime limit exceeded.0
14Depăşit1468kbTime limit exceeded.0
15Depăşit1468kbTime limit exceeded.0
16Depăşit1468kbTime limit exceeded.0
17Depăşit1472kbTime limit exceeded.0
18Depăşit1472kbTime limit exceeded.0
19Depăşit1472kbTime limit exceeded.0
20Depăşit1468kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?