Borderou de evaluare (job #1740517)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < strlen(S); i++) ^ user.cpp:16:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S); ^ user.cpp:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:31:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &X); ^ /tmp/ccmNsV6Z.o: In function `main': user.cpp:(.text.startup+0x1d): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms272kbOK10
30ms268kbOK10
40ms276kbOK10
50ms276kbOK10
60ms268kbOK10
78ms296kbOK10
812ms308kbOK10
9Depăşit304kbTime limit exceeded.0
10Depăşit300kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?