洛谷 P5730 【深基5.例10】显示屏
更多...
#include <luogu.h>
|
static int | main (istream &cin, ostream &cout) |
|
洛谷 P5730 【深基5.例10】显示屏
在文件 luogu.h 第 419 行定义.
◆ main()
int luogu::P5730::main |
( |
istream & |
cin, |
|
|
ostream & |
cout |
|
) |
| |
|
static |
在文件 luogu.cpp 第 1316 行定义.
1319 char screen[5][400];
1320 memset(screen,
'.',
sizeof screen);
1321 const char nums[10][5][3] = {
1372 for(
int i = 0; i < n; i++) {
1376 for(
int j = 0; j < 5; j++) {
1377 for(
int k = 0; k < 3; k++) {
1378 screen[j][k + i * 4] = nums[num][j][k];
1382 for(
int i = 0; i < 5; i++) {
1383 for(
int j = 0; j < 4 * n - 1; j++) {
1384 cout << screen[i][j];
被这些函数引用 luogu::TEST().
该类的文档由以下文件生成: