problemscpp
A collection of my answers to algorithm problems in c++.
|
AcWing 1960. 闪烁 更多...
#include <acwing.h>
Public 成员函数 | |
unsigned int | compress (const bool *) const |
bool * | decompress (unsigned int status) const |
unsigned int | get_next (unsigned int status) |
int | main (istream &, ostream &) |
Private 属性 | |
int | fsm [1<< 16] = {} |
unsigned int | n {} |
unsigned int acwing::acwing1960::compress | ( | const bool * | bulbs | ) | const |
bool * acwing::acwing1960::decompress | ( | unsigned int | status | ) | const |
unsigned int acwing::acwing1960::get_next | ( | unsigned int | status | ) |
在文件 acwing.cpp 第 1155 行定义.
引用了 compress(), decompress(), fsm , 以及 n.
被这些函数引用 main().
int acwing::acwing1960::main | ( | istream & | cin, |
ostream & | cout | ||
) |
|
private |
被这些函数引用 get_next() , 以及 main().
|
private |
被这些函数引用 compress(), decompress(), get_next() , 以及 main().