Borderou de evaluare (job #1740509)

Utilizator mirupetPetcan Miruna mirupet Data 11 august 2016 17:49:25
Problema Parantezare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < strlen(S); i++) ^ user.cpp:15:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S); ^ user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:23:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &X); ^ /tmp/ccrLglKu.o: In function `main': user.cpp:(.text.startup+0x1b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms276kbIncorect0
30ms276kbIncorect0
40ms276kbIncorect0
50ms276kbIncorect0
60ms276kbIncorect0
70ms312kbIncorect0
84ms316kbIncorect0
9Depăşit356kbTime limit exceeded.0
10Depăşit320kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?