Borderou de evaluare (job #1672931)

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

Raport evaluator

Compilare: user.cpp: In function ‘void umplere()’: user.cpp:37:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<=strlen(s1+1); i++) ^ user.cpp:41:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<=strlen(s2+1); i++) ^ user.cpp: In function ‘void citire()’: user.cpp:13: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:14:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s1+1); ^ user.cpp:15: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:61: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:62: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/ccy10NvN.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
10ms504kbOK10
20ms492kbOK10
30ms488kbOK10
40ms1032kbOK10
58ms4328kbOK10
636ms12176kbOK10
748ms14204kbOK10
816ms8468kbKilled by signal 11(SIGSEGV).0
928ms8472kbKilled by signal 11(SIGSEGV).0
1028ms8476kbKilled by signal 11(SIGSEGV).0
Punctaj total70

Ceva nu functioneaza?