Borderou de evaluare (job #1465055)

Utilizator SilviuIIon Silviu SilviuI Data 26 iulie 2015 14:01:02
Problema Dinti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:42:24: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if ((i>>j)&1==1) uhash[i-put2[j]]=1; ^ user.cpp:25:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dinti.in","r",stdin); ^ user.cpp:26:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dinti.out","w",stdout); ^ user.cpp:27:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %s",&n,&m,&k,s+1); ^ user.cpp:45:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); curent=0; ^ /tmp/ccpxRh1V.o: In function `main': user.cpp:(.text.startup+0x1c8): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms460kbKilled by signal 11(SIGSEGV).0
20ms464kbKilled by signal 11(SIGSEGV).0
30ms552kbKilled by signal 11(SIGSEGV).0
44ms832kbKilled by signal 11(SIGSEGV).0
54ms1312kbKilled by signal 11(SIGSEGV).0
68ms1396kbKilled by signal 11(SIGSEGV).0
78ms1392kbKilled by signal 11(SIGSEGV).0
88ms1396kbKilled by signal 11(SIGSEGV).0
98ms1384kbKilled by signal 11(SIGSEGV).0
108ms1384kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?