0_0_34813080_25114.cpp: In function 'int main()':
0_0_34813080_25114.cpp:41:10: error: too few arguments to function 'void* memset(void*, int, size_t)'
memset()
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstring:42:0,
from 0_0_34813080_25114.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/string.h:43:18: note: declared here
void * __cdecl memset(void *_Dst,int _Val,size_t _Size);
^
0_0_34813080_25114.cpp:42:18: error: 'i' was not declared in this scope
for(int i = 0; i < len; i++){
^
0_0_34813080_25114.cpp:56:16: error: missing template arguments before '[' token
if(has[stack[i] - 'a'] > l[stack[i] - 'a'] && tmp != 0) mark[i] = 1, tmp--;
^
0_0_34813080_25114.cpp:56:36: error: missing template arguments before '[' token
if(has[stack[i] - 'a'] > l[stack[i] - 'a'] && tmp != 0) mark[i] = 1, tmp--;
^
0_0_34813080_25114.cpp:58:22: error: 'n' was not declared in this scope
for(int i = 0; i < n; i++) if(!mark[i])cout << stk[i];
^
|