lang.cpp: In function 'void excerpt(int*)':
lang.cpp:59:13: warning: unused variable 'abc' [-Wunused-variable]
int abc=3;
^~~
lang.cpp:61:5: error: 'sort' was not declared in this scope
sort(cand.begin(),cand.end());
^~~~
lang.cpp:61:5: note: suggested alternative: 'qsort'
sort(cand.begin(),cand.end());
^~~~
qsort
lang.cpp: At global scope:
lang.cpp:13:38: warning: 'right' defined but not used [-Wunused-variable]
static int lnum, i,j,k,n,nl, uni[N], right, tot;
^~~~~
lang.cpp:13:30: warning: 'uni' defined but not used [-Wunused-variable]
static int lnum, i,j,k,n,nl, uni[N], right, tot;
^~~
lang.cpp:13:26: warning: 'nl' defined but not used [-Wunused-variable]
static int lnum, i,j,k,n,nl, uni[N], right, tot;
^~
lang.cpp:13:24: warning: 'n' defined but not used [-Wunused-variable]
static int lnum, i,j,k,n,nl, uni[N], right, tot;
^
lang.cpp:13:22: warning: 'k' defined but not used [-Wunused-variable]
static int lnum, i,j,k,n,nl, uni[N], right, tot;
^
lang.cpp:13:20: warning: 'j' defined but not used [-Wunused-variable]
static int lnum, i,j,k,n,nl, uni[N], right, tot;
^
lang.cpp:13:18: warning: 'i' defined but not used [-Wunused-variable]
static int lnum, i,j,k,n,nl, uni[N], right, tot;
^
lang.cpp:13:12: warning: 'lnum' defined but not used [-Wunused-variable]
static int lnum, i,j,k,n,nl, uni[N], right, tot;
^~~~
lang.cpp:12:23: warning: 'lan' defined but not used [-Wunused-variable]
static char lang[20], lan[100][20];
^~~
lang.cpp:12:13: warning: 'lang' defined but not used [-Wunused-variable]
static char lang[20], lan[100][20];
^~~~