diff --git a/1791B Following Directions/1791B.cpp b/1791B Following Directions/1791B.cpp new file mode 100644 index 0000000..3cf9c39 --- /dev/null +++ b/1791B Following Directions/1791B.cpp @@ -0,0 +1,35 @@ +#include +using namespace std; +using ll = long long; + +void solve() +{ + int n,x=0,y=0; + cin>>n; + string s; + cin>>s; + for(int i=0;i> TC; + cin.ignore(); + while (TC--) solve(); +} \ No newline at end of file