#include #include #include #include int main() { int n,v=0,m=0; scanf("%d",&n); int *asYouHike = malloc(sizeof(int) * (n+1)); char *step = malloc(sizeof(char) * n); for(int i=0;i<=n;i++) { scanf("%c",&step[i]); } asYouHike[0]=0; for(int i=0;i