Borderou de evaluare (job #1736323)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 1 august 2016 16:03:46
Problema PScPld Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:61:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", manacher(s)); ^ user.cpp:55:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld.in","r",stdin); ^ user.cpp:56:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld.out","w",stdout); ^ user.cpp:58:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); n = strlen(s + 1); ^ /tmp/ccUNGS0J.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms720kbOK10
20ms1032kbOK10
30ms1336kbOK10
472ms30672kbIncorect0
512ms6476kbIncorect0
628ms12524kbIncorect0
736ms15552kbIncorect0
852ms23132kbIncorect0
964ms27672kbIncorect0
1072ms30672kbIncorect0
Punctaj total30

Ceva nu functioneaza?