编写重载模板 1 #include <iostream> 2 #include <sstream> 3 #include <string> 4 using namespace std; 5 6 template <typename T> 7 string debug_rep(const T &t) ...
分类:
编程语言 时间:
2021-06-28 20:25:45
阅读次数:
0
Codeforces Round #726 (Div. 2) A - Arithmetic Array int main() { IOS; for (cin >> _; _; --_) { cin >> n; m = -n; rep (i, 1, n) cin >> k, m += k; cout ...
分类:
其他好文 时间:
2021-06-22 18:41:35
阅读次数:
0
#include <bits/stdc++.h> using namespace std; #define rep(i,a,b) for(int i=a;i<b;i++) #define all(x) x.begin(),x.end() #define pb(x) push_back(x) #def ...
分类:
其他好文 时间:
2021-06-19 19:16:51
阅读次数:
0
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo-backupwget -O /etc/yum.repos.d/CentOS-Base.repo http://file.kangle.odata.cc/rep ...
分类:
其他好文 时间:
2021-05-03 11:53:06
阅读次数:
0
library(ggplot2) set.seed(1) vals1 ← rbeta(1000, 0.5, 0.1) vals2 ← rbeta(1000, 0.25, 0.3) gg ← ggplot(data.frame(x=c(vals1, vals2), grp=c(rep("a", 100 ...
分类:
其他好文 时间:
2021-04-28 11:54:18
阅读次数:
0
6.1.前缀指令 1、硬编码的结构 2、前缀指令是分组的 <1> LOCK和REPEAT前缀指令: LOCK FO REPNE/REPNZ F2 REP/REPZ F3 <2> 段前缀指令: CS(2E) SS(36) DS(3E) ES(26) FS(64) GS(65) <3>操作数宽度前缀指令 ...
分类:
其他好文 时间:
2021-04-20 15:28:55
阅读次数:
0
题意&思路:Wuuuu~,其实就是问总和是不是为M #include<iostream> #include<cstring> #include<cmath> #include<algorithm> #define rep(i,n) for(i=1;i<=n;++i) #define ms(a,n) ...
分类:
其他好文 时间:
2021-03-18 14:17:01
阅读次数:
0
A 9,98,989,9890...... #include <bits/stdc++.h> #define rep(i,j,k) for (int i = j; i <= k; i++) #define dow(i,j,k) for (int i = j; i >= k; i--) #define ...
分类:
其他好文 时间:
2021-01-22 12:10:17
阅读次数:
0
Introduction R 是一门用于 Data Analysis 和 Graphic 的语言。R语言同时也是一门语法极不严格的语言。 Global Method assign ← mean, sum, sqrt length sort seq(Python中的Range) sep(分割) rep ...
分类:
其他好文 时间:
2021-01-08 11:24:28
阅读次数:
0
Codeforces Round #690 (Div. 3) A - Favorite Sequence 按着题意读入, 顺序输出完事 int main() { IOS; for (cin >> _; _; --_) { cin >> n; rep (i, 1, n) { if (i <= (n + ...
分类:
其他好文 时间:
2020-12-21 12:02:47
阅读次数:
0