0_0_14947603_23445.cpp: In function 'int main()':
0_0_14947603_23445.cpp:44:37: error: cannot convert 'bool' to 'void*' for argument '1' to 'void* memset(void*, int, size_t)'
memset(ans , 0 , sizeof(ans)) ;
^
0_0_14947603_23445.cpp:50:22: error: invalid types 'bool[int]' for array subscript
if(ans[t1])continue ;
^
0_0_14947603_23445.cpp:51:19: error: invalid types 'bool[int]' for array subscript
ans[t1] = 1 ;
^
|