0_0_25902954_7575.cpp:4:1: error: 'll' does not name a type
ll k,len;
^
0_0_25902954_7575.cpp: In function 'void dfs1(std::string, int, int)':
0_0_25902954_7575.cpp:7:13: error: 'len' was not declared in this scope
if(pos>=len||step>=k) {minans=min(minans,s);return;}
^
0_0_25902954_7575.cpp:7:24: error: 'k' was not declared in this scope
if(pos>=len||step>=k) {minans=min(minans,s);return;}
^
0_0_25902954_7575.cpp:9:23: error: 'len' was not declared in this scope
for(int i=pos+1;i<len;i++){
^
0_0_25902954_7575.cpp: In function 'void dfs2(std::string, int, int)':
0_0_25902954_7575.cpp:22:13: error: 'len' was not declared in this scope
if(pos>=len||step>=k) {maxans=max(maxans,s);return;}
^
0_0_25902954_7575.cpp:22:24: error: 'k' was not declared in this scope
if(pos>=len||step>=k) {maxans=max(maxans,s);return;}
^
0_0_25902954_7575.cpp:24:23: error: 'len' was not declared in this scope
for(int i=pos+1;i<len;i++){
^
0_0_25902954_7575.cpp: In function 'int main()':
0_0_25902954_7575.cpp:41:17: error: 'k' was not declared in this scope
cin>>n>>k;
^
0_0_25902954_7575.cpp:45:9: error: 'len' was not declared in this scope
len=n.length();
^
|