Borderou de evaluare (job #1737427)

Utilizator mirupetPetcan Miruna mirupet Data 3 august 2016 23:34:04
Problema Muzeu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:46:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 1; j <= strlen(S + 1); j++) ^ user.cpp:42:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &N); ^ user.cpp:45:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S + 1); ^ /tmp/ccAauEYx.o: In function `main': user.cpp:(.text.startup+0x4c): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK10
20ms300kbOK10
30ms324kbOK10
44ms376kbOK10
512ms480kbOK10
6Depăşit504kbTime limit exceeded.0
720ms528kbOK10
8Depăşit504kbTime limit exceeded.0
940ms528kbOK10
1024ms528kbOK10
Punctaj total80

Ceva nu functioneaza?