problemscpp
A collection of my answers to algorithm problems in c++.
静态 Public 成员函数 | 所有成员列表
luogu::P5733类 参考

洛谷 P5733 【深基6.例1】自动修正 更多...

#include <luogu.h>

静态 Public 成员函数

static int main (istream &cin, ostream &cout)
 

详细描述

洛谷 P5733 【深基6.例1】自动修正

在文件 luogu.h497 行定义.

成员函数说明

◆ main()

int luogu::P5733::main ( istream &  cin,
ostream &  cout 
)
static

在文件 luogu.cpp1812 行定义.

1812 {
1813 string str;
1814 cin >> str;
1815 for(const char ch: str) {
1816 if(islower(ch) != 0) {
1817 cout << static_cast<char>(toupper(ch));
1818 } else {
1819 cout << ch;
1820 }
1821 }
1822 return 0;
1823 }

被这些函数引用 luogu::TEST().


该类的文档由以下文件生成: