1 #include <bits/stdc++.h> 2 using namespace std; 3 int main() { 4 int t; 5 cin >> t; 6 while (t--) { 7 int a, b; 8 string a_line, b_line; 9 cin >> a ...
分类:
其他好文 时间:
2020-11-30 15:20:06
阅读次数:
5
https://pintia.cn/problem-sets/1218774283169423360/problems/1218774532776648715 #include <cstdio> #include <iostream> #include <algorithm> #include <s ...
分类:
其他好文 时间:
2020-11-27 11:32:22
阅读次数:
6
Atcoder Beginner Contest 184 A-Determinant Solution: 输出$ad-bc$ #include <iostream> using namespace std; int main() { int a, b, c, d; cin >> a >> b >> ...
分类:
其他好文 时间:
2020-11-26 15:23:49
阅读次数:
14
11.16学习日志 HTML运用 1、HTML概念 HTML:Hyper Text Mark-up Language超文本标记语言,是一种用于创建网页的标准标记语言。通过元素标签的形式建立Web站点,通过浏览器进行解析。 2、HTML基本语法结构 开始标签 属性 属性值 内容 结束标签; <h1 i ...
分类:
其他好文 时间:
2020-11-26 14:14:28
阅读次数:
5
题意就是算子区间内的不同质因子的个数 题目大意:有一个长度为n的序列a,定义mul(l, r)为区间[l, r]中a[i]的乘积, fac(l, r)为mul(l, r)不同素数因子的个数。求所有区间fac的和。 和这个题有点类似 给定一个长度为n的序列,然后求出每一个子区间不同数的个数和。而这一道 ...
分类:
其他好文 时间:
2020-11-26 14:12:51
阅读次数:
4
7-1 阅览室,感觉思路还好,但是写的太繁琐了,借鉴一下过的代码,又写了一遍;,代码: #include<bits/stdc++.h> using namespace std; int s[1010],w[1010]; int main() { int n; cin>>n; while(n--) { ...
分类:
其他好文 时间:
2020-11-26 14:11:33
阅读次数:
3
给大家安利一款 ServiceStack.Redis 的 ASP.NET Core 扩展库,它是基于 ServiceStack.Redis.Core 开发的。 简单易用,开源免费,使用ASP.NET Core自身提供的DI容器来实现针对服务的注册和消费。直接在程序启动时注册到服务中即可完成全部配置, ...
分类:
Web程序 时间:
2020-11-26 14:08:07
阅读次数:
11
珠心算p2141灵感: #include<bits/stdc++.h> using namespace std; int s[101]; int x=0; int main(){ int t=0; int n; cin>>n; for(int i=0;i<n;i++){ cin>>s[i]; } f ...
分类:
其他好文 时间:
2020-11-25 12:25:50
阅读次数:
4
C++ 内联函数 #include <iostream> using namespace std; inline int Max(int a, int b) { if (a > b) return a; else return b; } int main() { cout << Max(23, 5) ...
分类:
其他好文 时间:
2020-11-25 12:08:44
阅读次数:
2
【原创】JVM系列02|Java虚拟机结构收录于话题#进阶架构师|JVM调优专题9个点击上方“java进阶架构师”,选择右上角“置顶公众号”20大进阶架构专题每日送达Java虚拟机学习Java虚拟机,先要掌握其基本结构,了解各部分有什么作用,各部分之间是如何协调工作的。本文将介绍如下内容:Java虚拟机结构举例说明Java堆、Java栈、方法区关系1.基本结构图片来自:https://blog.c
分类:
编程语言 时间:
2020-11-24 12:53:31
阅读次数:
6