fork(1) download
  1. #include <iostream>
  2. #include <cctype>
  3. #include <algorithm>
  4. #include <iterator>
  5.  
  6. int main() {
  7. std::istream &input = std::cin;
  8. std::ostream &output = std::cout;
  9.  
  10. std::transform(std::istreambuf_iterator<char>(input),
  11. std::istreambuf_iterator<char>(),
  12. std::ostreambuf_iterator<char>(output),
  13. ::tolower);
  14.  
  15. }
Success #stdin #stdout 0s 3144KB
stdin
AL MA KotA BLBlbeBELEBLBELBEBlblblbelBEBELBELeeee
stdout
al ma kota blblbebeleblbelbeblblblbelbebelbeleeee