洛谷 P1980 [NOIP2013 普及组] 计数问题
更多...
#include <luogu.h>
|
static int | main (istream &cin, ostream &cout) |
|
洛谷 P1980 [NOIP2013 普及组] 计数问题
在文件 luogu.h 第 267 行定义.
◆ main()
int luogu::P1980::main |
( |
istream & | cin, |
|
|
ostream & | cout ) |
|
static |
在文件 luogu.cpp 第 715 行定义.
715 {
717 char x;
719 auto oss = ostringstream();
720 for(
int i = 1; i <=
n; i++) {
721 oss << i;
722 }
723 const string str = oss.str();
725 for(const char ch: str) {
726 if(ch == x) {
728 }
729 }
731 return 0;
732 }
vector< vector< int > > ans
被这些函数引用 luogu::TEST().
该类的文档由以下文件生成: