Borderou de evaluare (job #1527759)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 18 noiembrie 2015 18:24:00
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:42:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0; j < v.size(); j++) ^ 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:19:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ user.cpp:20:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a + 1); ^ /tmp/cckdi4Tj.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
10ms412kbOK10
20ms396kbOK10
30ms428kbOK10
40ms428kbOK10
5Depăşit496kbTime limit exceeded.0
6Depăşit580kbTime limit exceeded.0
7Depăşit576kbTime limit exceeded.0
8Depăşit580kbTime limit exceeded.0
9Depăşit580kbTime limit exceeded.0
10Depăşit576kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?