Borderou de evaluare (job #1228789)

Utilizator t.g.g.tt.g.g.t t.g.g.t Data 15 septembrie 2014 15:42:24
Problema Roy-Floyd Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13: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:14: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:16:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:19: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/cco0ybe9.o: In function `main': user.cpp:(.text.startup+0x84): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms428kbOK5
20ms436kbOK5
30ms464kbOK5
40ms460kbOK5
54ms684kbOK5
64ms684kbOK5
724ms944kbOK5
824ms944kbOK5
924ms944kbOK5
1024ms944kbOK5
11Depăşit1468kbTime limit exceeded.0
12Depăşit1464kbTime limit exceeded.0
13Depăşit1464kbTime limit exceeded.0
14Depăşit1468kbTime limit exceeded.0
15Depăşit1464kbTime limit exceeded.0
16Depăşit1468kbTime limit exceeded.0
17Depăşit1464kbTime limit exceeded.0
18Depăşit1464kbTime limit exceeded.0
19Depăşit1468kbTime limit exceeded.0
20Depăşit1464kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?