Codeforces Round #389 (Div. 2, Rated, Based on Technocup 2017 – Elimination Round 3), problem: (C) Santa Claus and Robot Solution in C/C++

By |2017-04-07T22:11:44+00:00January 7th, 2017|Categories: C/C++, Programming|Tags: , , , , , , , , |

Codeforces Round #389 (Div. 2, Rated, Based on Technocup 2017 - Elimination Round 3), problem: (C) Santa Claus and Robot Solution in C/C++ #include <iostream> using namespace std; int n,s; char a,d,l; int main(){ cin>>n; for(int i=0; i<n; i++){ cin>>a; if((a=='R' && l=='L') || [...]