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

洛谷 P5015 [NOIP2018 普及组] 标题统计 更多...

#include <luogu.h>

静态 Public 成员函数

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

详细描述

洛谷 P5015 [NOIP2018 普及组] 标题统计

在文件 luogu.h525 行定义.

成员函数说明

◆ main()

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

在文件 luogu.cpp1911 行定义.

1911 {
1912 int ans = 0;
1913 char ch;
1914 while((ch = cin.get()) != EOF) {
1915 if(isalnum(ch) != 0) {
1916 ans++;
1917 }
1918 }
1919 cout << ans;
1920 return 0;
1921 }

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


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