码迷,mamicode.com
首页 >  
搜索关键字:else    ( 23991个结果
VBA-从周课表统计节次
Sub datainsert() Dim r1 As Integer, r2 As Integer, i As Integer, j As Integer, findrow As Integer, findMonth As Integer, tday As Integer findMonth = R... ...
分类:编程语言   时间:2017-09-11 23:03:52    阅读次数:209
洛谷 P2759 奇怪的函数
P2759 奇怪的函数 P2759 奇怪的函数 P2759 奇怪的函数 题目描述 使得 x^x 达到或超过 n 位数字的最小正整数 x 是多少? 输入输出格式 输入格式: 一个正整数 n 输出格式: 使得 x^x 达到 n 位数字的最小正整数 x 输入输出样例 输入样例#1: 11 输出样例#1: ...
分类:其他好文   时间:2017-09-11 23:00:43    阅读次数:271
POJ 3134 - Power Calculus
迭代加深 //Twenty #include<cstdio> #include<cstdlib> #include<iostream> #include<algorithm> #include<cmath> #include<cstring> #include<queue> #include<vec ...
分类:其他好文   时间:2017-09-11 22:59:10    阅读次数:235
leetcode -- Algorithms -- 4_ Median of Two Sorted Arrays
00 There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity ...
分类:其他好文   时间:2017-09-11 22:42:06    阅读次数:181
2017.9.11(识别用户名)
今天学习了while 循环,count计数,if语句。并自己编写了识别用户名代码 ...
分类:其他好文   时间:2017-09-11 22:41:23    阅读次数:100
[BZOJ1572] [Usaco2009 Open]工作安排Job(贪心 + 堆)
传送门 把任务按照d排序 一次加入到堆中,如果当前放不进堆中,并且比堆中最小的大, 就从堆中弹出一个数,再把当前的数放进去 ...
分类:其他好文   时间:2017-09-11 22:39:35    阅读次数:149
剑指offer-笔记
1.任意进制间的转换 思想:转换到10进制以后在转换为想要的进制 要点:注意大于10进制的用‘A~Z’来表示 2. ...
分类:其他好文   时间:2017-09-11 22:39:13    阅读次数:146
Cow Exhibition POJ - 2184
"Fat and docile, big and dumb, they look so stupid, they aren't much fun..." - Cows with Guns by Dana Lyons The cows want to prove to the public that ...
分类:其他好文   时间:2017-09-11 21:17:58    阅读次数:203
C++入门经典-例3.3-if-else语句的奇偶性判别
1:代码如下: // 3.3.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <iostream> using namespace std; void main() { int iInput; cout << "输入一个整数:" << end ...
分类:编程语言   时间:2017-09-11 21:13:47    阅读次数:132
Python--21 丰富的else语句与简洁的else语句
1.要么怎样,要么不怎样 if else 2.干完了能怎样,干不完就别怎样 for while else else只循环完成后执行,如果循环使用了break语句跳出了循环,else语句是不会执行的 3.没有问题,那就干吧 如果try 语句里没有任何异常就会执行else中的语句 4.简洁的with语句 ...
分类:编程语言   时间:2017-09-11 18:22:04    阅读次数:239
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!