#include <iostream>
using namespace std;
#include <algorithm>

string ucase(string str)
{
    transform(str.begin(), str.end(), str.begin(), ::toupper);
    return str;
}

string lcase(string str)
{
    transform(str.begin(), str.end(), str.begin(), ::tolower);
    return str;
}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
  • 2021-07-31
  • 2021-11-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-22
  • 2022-02-14
  • 2021-12-06
  • 2021-10-24
相关资源
相似解决方案