Borderou de evaluare (job #1737429)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:43:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 1; j <= strlen(S + 1); j++) ^ user.cpp:39:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &N); ^ user.cpp:42:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S + 1); ^ /tmp/ccTBBqT4.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
10ms292kbOK10
20ms300kbOK10
30ms340kbOK10
40ms384kbOK10
512ms612kbOK10
616ms700kbOK10
716ms528kbOK10
816ms676kbOK10
916ms552kbOK10
1020ms780kbOK10
Punctaj total100

Ceva nu functioneaza?