Saleh127

CF 1421C

Oct 18th, 2020
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. #define ll long long
  4. #define test int t; cin>>t; for(int cs=1;cs<=t;cs++)
  5. int main()
  6. {
  7. ios_base::sync_with_stdio(0);
  8. cin.tie(0);
  9. cout.tie(0);
  10.  
  11. string a,c,d,e;
  12. ll f,i,j,k=0,l;
  13. cin>>c;
  14. cout<<4<<endl;
  15. l=c.size();
  16. l+=2;
  17. l=l+l+-3;
  18.  
  19. cout<<"L "<<2<<endl;
  20. cout<<"L "<<2<<endl;
  21. cout<<"R "<<2<<endl;
  22. cout<<"R "<<l<<endl;
  23. return 0;
  24. }
  25.  
Add Comment
Please, Sign In to add comment