Borderou de evaluare (job #1228777)

Utilizator pentrusandaPentru Sanda pentrusanda Data 15 septembrie 2014 15:24:10
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:12: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:13: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:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:18: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/cc3SwpgL.o: In function `main': user.cpp:(.text.startup+0x85): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK5
20ms264kbOK5
30ms300kbOK5
40ms304kbOK5
54ms524kbOK5
64ms524kbOK5
724ms784kbOK5
824ms780kbOK5
924ms780kbOK5
1024ms784kbOK5
11Depăşit1312kbTime limit exceeded.0
12Depăşit1320kbTime limit exceeded.0
13Depăşit1316kbTime limit exceeded.0
14Depăşit1316kbTime limit exceeded.0
15Depăşit1316kbTime limit exceeded.0
16Depăşit1316kbTime limit exceeded.0
17Depăşit1316kbTime limit exceeded.0
18Depăşit1320kbTime limit exceeded.0
19Depăşit1320kbTime limit exceeded.0
20Depăşit1316kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?