思路: 水题,略过 Tip: 无 #include <bits/stdc++.h> using namespace std; const int maxn = 1000 + 5; queue<char> que[maxn]; stack<char> s; int main() { int n, m, ...
分类:
其他好文 时间:
2021-04-27 15:08:37
阅读次数:
0
c语言 4-20 为九九乘法表增加横纵标题。 1、for语句二层循环 #include <stdio.h> int main(void) { int i, j; printf(" |"); for (i = 1; i <= 9; i++) { printf("%3d", i); } putchar( ...
分类:
编程语言 时间:
2021-04-27 15:05:59
阅读次数:
0
文件读写操作「c++」 #include <fstream> void test01() { //ofstream ofs("./test.txt",ios::out | ios::trunc); //后期指定打开方式 ofstream ofs; ofs.open("./test.txt",ios: ...
分类:
编程语言 时间:
2021-04-27 15:05:25
阅读次数:
0
#include <iostream> #include <algorithm> #include <cstdio> using namespace std; const int N = 2e5 * 20; int a[N], b[N], root[N]; struct President_Tree ...
分类:
其他好文 时间:
2021-04-27 15:01:57
阅读次数:
0
#include <bits/stdc++.h> typedef unsigned long long ll; const ll P=1331; using namespace std; ll hash1[1000000],u[1000000]; ll get(int l,int r){ retur ...
分类:
其他好文 时间:
2021-04-27 15:00:27
阅读次数:
0
#include <iostream> #include <stack> #include <cstring> #include <unordered_map> using namespace std; typedef long long ll; stack<int>num; stack<char> ...
分类:
其他好文 时间:
2021-04-27 14:59:52
阅读次数:
0
C++(自带异常,使用示例) #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <string> //系统提供标准异常 #include <stdexcept> using namespace std; class Person ...
分类:
编程语言 时间:
2021-04-27 14:52:17
阅读次数:
0
#include<cstdio> #include<cstring> using namespace std; char firstper[20]; char lastper[20]; char firsttime[20]="23:59:59"; char lasttime[20]="00:00:0 ...
分类:
其他好文 时间:
2021-04-27 14:33:17
阅读次数:
0
C++(template模板 && 类模板 成员函数类外实现) 类模板,成员函数类外实现 #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <string> using namespace std; template<class ...
分类:
编程语言 时间:
2021-04-27 14:30:06
阅读次数:
0
参考 https://blog.csdn.net/Simon798/article/details/103161482 先上代码: // Test_Console.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <afx.h> #includ ...
分类:
编程语言 时间:
2021-04-27 14:13:15
阅读次数:
0