Borderou de evaluare (job #1672994)

Utilizator calin1Serban Calin calin1 Data 3 aprilie 2016 12:54:15
Problema Edist Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void prelucrare()’: user.cpp:29:40: warning: left operand of comma operator has no effect [-Wunused-value] for(int j=max(1,i-k-1); j<=(i+k+1,m); j++) ^ user.cpp: In function ‘void citire()’: user.cpp:14:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n",&n,&m,&k); ^ user.cpp:15:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s1+1); ^ user.cpp:16:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s2+1); ^ user.cpp: In function ‘int main()’: user.cpp:46:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("edist.in","r",stdin); ^ user.cpp:47:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("edist.out","w",stdout); ^ /tmp/cc2RYVrT.o: In function `citire()': user.cpp:(.text+0x37): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms464kbOK10
20ms460kbOK10
30ms464kbOK10
40ms464kbOK10
50ms472kbOK10
612ms484kbOK10
716ms492kbOK10
8Depăşit536kbTime limit exceeded.0
9Depăşit604kbTime limit exceeded.0
10Depăşit616kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?