problemscpp
A collection of my answers to algorithm problems in c++.
载入中...
搜索中...
未找到
luogu::P5705类 参考

洛谷 P5705 【深基2.例7】数字反转 更多...

#include <luogu.h>

静态 Public 成员函数

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

详细描述

洛谷 P5705 【深基2.例7】数字反转

在文件 luogu.h56 行定义.

成员函数说明

◆ main()

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

在文件 luogu.cpp188 行定义.

188 {
189 string s;
190 cin >> s;
191 for(int i = s.length() - 1; i >= 0; i--) {
192 cout << s[i];
193 }
194 return 0;
195 }

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


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