Borderou de evaluare (job #1497231)

Utilizator Cristian1997Vintur Cristian Cristian1997 Data 6 octombrie 2015 14:58:14
Problema Swap Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("swap.in", "r", stdin); ^ user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("swap.out", "w", stdout); ^ user.cpp:21:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a + 1); ^ user.cpp:22:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(b + 1); ^ /tmp/ccC3UkD7.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK10
20ms268kbOK10
30ms312kbOK10
40ms308kbOK10
54ms700kbOK10
616ms948kbOK10
712ms944kbOK10
8Depăşit940kbTime limit exceeded.0
920ms952kbOK10
10Depăşit928kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?