Borderou de evaluare (job #1499530)

Utilizator Theodor1000Cristea Theodor Stefan Theodor1000 Data 10 octombrie 2015 19:08:22
Problema Swap Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29: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:30: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:32:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s1); ^ user.cpp:33:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s2); ^ /tmp/cc1CJs3Y.o: In function `main': user.cpp:(.text.startup+0x5b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms420kbOK10
20ms400kbOK10
30ms460kbOK10
40ms464kbOK10
54ms864kbOK10
6Depăşit1184kbTime limit exceeded.0
78ms1100kbOK10
816ms1140kbOK10
98ms1136kbOK10
108ms1104kbOK10
Punctaj total90

Ceva nu functioneaza?