Borderou de evaluare (job #1538613)

Utilizator mirupetPetcan Miruna mirupet Data 29 noiembrie 2015 15:11:47
Problema Charlie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 1; i < strlen(S); i++) ^ user.cpp:57:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (k < strlen(S) - 1) ^ user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("charlie.in","r",stdin); ^ user.cpp:13:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("charlie.out","w",stdout); ^ user.cpp:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &N); ^ user.cpp:16:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S); ^ /tmp/ccOIcgwQ.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK5
20ms276kbOK5
34ms268kbOK5
4Depăşit304kbTime limit exceeded.0
5Depăşit336kbTime limit exceeded.0
60ms272kbOK5
70ms272kbOK5
80ms272kbOK5
944ms284kbOK5
10Depăşit284kbTime limit exceeded.0
11Depăşit344kbTime limit exceeded.0
12Depăşit312kbTime limit exceeded.0
13Depăşit332kbTime limit exceeded.0
14Depăşit348kbTime limit exceeded.0
15Depăşit308kbTime limit exceeded.0
16Depăşit320kbTime limit exceeded.0
17Depăşit328kbTime limit exceeded.0
18Depăşit348kbTime limit exceeded.0
19Depăşit340kbTime limit exceeded.0
200ms268kbOK5
Punctaj total40

Ceva nu functioneaza?