Borderou de evaluare (job #1499512)

Utilizator Theodor1000Cristea Theodor Stefan Theodor1000 Data 10 octombrie 2015 18:45: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:33:36: 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:34:38: 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:36:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s1); ^ user.cpp:37:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s2); ^ /tmp/cc1k5Erp.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
10ms648kbOK10
20ms628kbOK10
30ms680kbOK10
40ms676kbOK10
5Depăşit848kbTime limit exceeded.0
6Depăşit1024kbTime limit exceeded.0
7Depăşit976kbTime limit exceeded.0
8Depăşit1008kbTime limit exceeded.0
9Depăşit948kbTime limit exceeded.0
10Depăşit1136kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?