码迷,mamicode.com
首页 >  
搜索关键字:using temporary    ( 54256个结果
atcoder abc 188 题解
A - Three-Point Shot 题目大意 两个球队现在分数分别给出,问少的一方投入三分球之后是否能翻盘. 代码 #include <bits/stdc++.h> using namespace std; typedef long long ll; #define forn(i,x,n) f ...
分类:其他好文   时间:2021-01-13 10:46:21    阅读次数:0
CF1036C Solution
题目链接 题解 很普通的数位dp题呐,$state$表示$>0$的数位个数。 AC代码 #include<bits/stdc++.h> #define int long long using namespace std; int dp[20][5],a[20],cnt; int dfs(int po ...
分类:其他好文   时间:2021-01-12 11:02:11    阅读次数:0
C#用冒泡法对数组中10个整数按照从小到大排序。
1.题目要求如下: 用冒泡法对数组中10个整数按照从小到大排序。 //数组本身就是一种引用类型。 2.来吧展示,代码如下: using System; namespace Unit_2._4 { class Program { //冒泡排序,从小到大 static void sort(int[] a ...
分类:编程语言   时间:2021-01-12 10:39:48    阅读次数:0
用C#设计一个控制台应用程序,定义若干个学生对象,每个学生对象包括学号、姓名、语文成绩、数学成绩和英语成绩,采用静态成员求各学生的平均分和各门课程的平均分。
1.题目要求如下: 用C#设计一个控制台应用程序,定义若干个学生对象,每个学生对象包括学号、姓名、语文成绩、数学成绩和英语成绩,采用静态成员求各学生的平均分和各门课程的平均分。 2.来吧展示: using System; namespace Experiment_3._1 { class Progr ...
分类:Windows程序   时间:2021-01-12 10:37:59    阅读次数:0
CF1472A Cards for Friends
本题解与Luogu同步 Solution 把长和宽分解,之后相乘看结果 可以定义一个函数实现分解,采用递推的形式 然后一个while循环实现 #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> using ...
分类:其他好文   时间:2021-01-12 10:36:21    阅读次数:0
Linux-C-GetUserName
Linux-C-GetUserName code //getUserName.c #include <iostream> #include <string> using namespace std; #ifdef linux #include <unistd.h> #include <pwd.h> ...
分类:系统相关   时间:2021-01-11 11:16:12    阅读次数:0
单链表反转
#include <iostream> #include <vector> #include <string> using namespace std; struct Node { int data; Node * next; }; Node * reverseList(Node * head) { ...
分类:其他好文   时间:2021-01-11 11:11:15    阅读次数:0
c#实现 正弦sin、反正弦arcsin,正切tan、反正切arctan:求角度值
1 #region 三角函数和反三角函数 2 3 using System; 4 using System.Collections.Generic; 5 using System.IO; 6 using System.Linq; 7 using System.Messaging; 8 using S ...
分类:Windows程序   时间:2021-01-11 11:09:21    阅读次数:0
UVa153
这题要求 找到涂色骰子是否为相同的骰子 使用函数式编程的思想,对于第二个骰子 ,每一个面,判断将其左右旋转后能否满足第一个骰子,旋转的任务交给函数rotate去做, 而换面的操作交给f1和f2去做 #include<iostream> #include<string> using std::cin; ...
分类:其他好文   时间:2021-01-11 10:42:34    阅读次数:0
git push a file which is larger than 5MB
If a file is larger than 5MB size limit for pushing t, the files must be tracked and updated using git lfs. Note: Please follow the instructions here( ...
分类:其他好文   时间:2021-01-11 10:39:35    阅读次数:0
54256条   上一页 1 ... 50 51 52 53 54 ... 5426 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!