Borderou de evaluare (job #1494262)

Utilizator delia_99Delia Draghici delia_99 Data 30 septembrie 2015 21:23:48
Problema Swap Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:48:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<strlen(b); ++i) ^ user.cpp:44:33: 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:45:35: 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:46:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a); ^ user.cpp:47:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(b); ^ /tmp/ccQENfCj.o: In function `main': user.cpp:(.text.startup+0x58): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms248kbOK10
30ms308kbOK10
40ms316kbOK10
5Depăşit336kbTime limit exceeded.0
6Depăşit376kbTime limit exceeded.0
7Depăşit356kbTime limit exceeded.0
8Depăşit376kbTime limit exceeded.0
9Depăşit368kbTime limit exceeded.0
10Depăşit356kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?