0_0_39473794_30435.cpp:1:15: error: non-local lambda expression cannot have a capture-default
1 | auto cnt=[&](char c)->int{
| ^
0_0_39473794_30435.cpp: In lambda function:
0_0_39473794_30435.cpp:3:11: error: 'i' was not declared in this scope
3 | rep(i,0,7)t+=s[i]==c;
| ^
0_0_39473794_30435.cpp:3:7: error: 'rep' was not declared in this scope
3 | rep(i,0,7)t+=s[i]==c;
| ^~~
0_0_39473794_30435.cpp: At global scope:
0_0_39473794_30435.cpp:6:12: error: 's' was not declared in this scope
6 | char x=s[0],y=s[4];
| ^
|