fork download
  1. #include <iostream>
  2. #include <string>
  3. #include <algorithm>
  4. #include <cctype>
  5. using namespace std;
  6.  
  7. struct Struktura
  8. {
  9. bool funkcja(string& wyraz1, string& wyraz2)
  10. {
  11. string str1(wyraz1), str2(wyraz2);
  12. transform(str1.begin(),str1.end(),str1.begin(),[](char x){ return tolower(x); });
  13. transform(str2.begin(),str2.end(),str2.begin(), [](char x){ return tolower(x); });
  14.  
  15. return (str1 < str2);
  16.  
  17.  
  18. }
  19. };
  20.  
  21. int main()
  22. {
  23. return 0;
  24. }
Success #stdin #stdout 0s 3452KB
stdin
Standard input is empty
stdout
Standard output is empty