Pagini recente » Borderou de evaluare (job #2404645) | Borderou de evaluare (job #2521284) | Borderou de evaluare (job #1642790) | Borderou de evaluare (job #2502448) | Borderou de evaluare (job #1465047)
Borderou de evaluare (job #1465047)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:24: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if ((i>>j)&1==1) uhash[i-put2[j]]=1;
^
user.cpp:26: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:27: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:28:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&m,&k); gets(s);
^
user.cpp:28:36: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&m,&k); gets(s);
^
user.cpp:29:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); curent=0; put2[0]=1;
^
user.cpp:46:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); curent=0;
^
/tmp/ccFdn9ho.o: In function `main':
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 444kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 532kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 828kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 4ms | 1312kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 4ms | 1392kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 4ms | 1392kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 1388kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 4ms | 1384kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 4ms | 1384kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |