大整数相乘 ac通过 摘要:#include <iostream> #include <string> /*project:两个大整数相乘 **@author:浅滩 **data:2019.05.15 */ …… 文章列表 2019年05月19日 0 点赞 0 评论 707 浏览 评分:8.0
priority_queue优先队列,简单介绍 摘要:STL优先队列:priority_queueSTL中的优先队列也是一种队列(queue),但平时我们使用的队列不同的在于我们可以自定义其中数据的优先级, 让优先级高的排在队列前面,可以理解为一个时刻都…… 文章列表 2019年05月16日 5 点赞 1 评论 369 浏览 评分:9.9
并查集-模板(自用) 摘要:并查集模板题目--对应题目为洛谷的并查集模板(搜一下就可以了)#include<iostream> #define hh ios::sync_with_stdio(false),cin.tie(0)…… 文章列表 2019年05月09日 2 点赞 0 评论 818 浏览 评分:0.0
问题 1106: 奖学金[C++描述] 摘要:#include <bits/stdc++.h> using namespace std; struct stu { int id; //学生的学号 int…… 文章列表 2019年05月08日 3 点赞 0 评论 670 浏览 评分:9.7
问题 1031: [编程入门]自定义函数之字符串反转[C++描述] 摘要:#include <bits/stdc++.h> using namespace std; int main() { string str; getline(cin,st…… 文章列表 2019年05月08日 0 点赞 0 评论 615 浏览 评分:0.0
问题 1026: [编程入门]数字逆序输出[C++描述] 摘要:#include <bits/stdc++.h> using namespace std; int main() { stack<int> s; for(int i = …… 文章列表 2019年05月08日 0 点赞 0 评论 846 浏览 评分:9.9
问题 1755: 姓名排序[C++描述] 摘要:#include <bits/stdc++.h> using namespace std; int main() { int m; cin >> m; whil…… 文章列表 2019年05月07日 1 点赞 0 评论 844 浏览 评分:0.0
问题 1749: 字符排序[C++求解] 摘要:#include <bits/stdc++.h> using namespace std; void fuckingsort(char *arr) { for(int i = 0;…… 文章列表 2019年05月07日 0 点赞 0 评论 536 浏览 评分:0.0
求四位吸血鬼数字 摘要:吸血鬼数字是指位数为偶数的数字,可以由一对数字相乘而得到,而这对数字各包含乘积的一半位数的数字,其中从最初的数字中选取的数字可以任意排序。如1260 = 21 * 60 1827 = 21 * 87…… 文章列表 2019年05月05日 6 点赞 0 评论 859 浏览 评分:0.0
1951 求平方和 摘要:#include<stdio.h>#include<math.h>int main(){int a,b,c=0;scanf("%d%d",&a,&b);c=pow(a,2)+pow(b,2);prin…… 文章列表 2019年05月05日 0 点赞 0 评论 520 浏览 评分:0.0