diff --git a/counting valley.c b/counting valley.c new file mode 100644 index 0000000..8754b1c --- /dev/null +++ b/counting valley.c @@ -0,0 +1,40 @@ +#include +#include + +int main() +{ + int n, i, x=0; + + scanf("%d", &n); + + char a[n]; + int b[n]; + + scanf("%s", a); + + + for(i=0;i