ios培训------我的c语言笔记,期待与您交流!#include<stdio.h>
intmain()
{
//定义一个变量,用来保存用户输入的整数
intnumber;
//scanf函数只接受变量的地址
//scanf函数是一个阻塞式的函数,等待用户输入
//用户输入完毕后,就会将用户输入的值赋值给number变量
//函..
分类:
编程语言 时间:
2015-03-30 06:57:42
阅读次数:
194
#include<stdio.h>
intmain()
{
//定义一个变量,用来保存用户输入的整数
intnumber;
//scanf函数只接受变量的地址
//scanf函数是一个阻塞式的函数,等待用户输入
//用户输入完毕后,就会将用户输入的值赋值给number变量
//函数调用完毕
scanf("%d",&numb..
分类:
编程语言 时间:
2015-03-29 18:11:39
阅读次数:
219
if(evt.getSource()==jButton1){ number=(int)(Math.random()*100)+1; jTextField2.setText(Integer.toHexString(number)); jLabel...
分类:
其他好文 时间:
2015-03-29 17:54:12
阅读次数:
143
https://leetcode.com/problems/distinct-subsequences/Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a ...
分类:
其他好文 时间:
2015-03-29 17:45:56
阅读次数:
146
Traveling
时间限制: 1 Sec 内存限制: 32 MB
提交: 41 解决: 23
[提交][状态][讨论版]
题目描述
SH likes traveling around the world. When he arrives at a city, he will ask the staff about the number of cities that connected...
分类:
其他好文 时间:
2015-03-29 16:39:07
阅读次数:
143
MultipleInputs类指定不同的输入文件路径以及输入文化格式
现有两份数据
phone
123,good number
124,common number
125,bad number
user
zhangsan,123
lisi,124
wangwu,125
现在需要把user和phone按照phone number连接起来。得到下面的结果
z...
分类:
其他好文 时间:
2015-03-29 16:37:53
阅读次数:
179
练习3-81原文“random” numbers. Produce a stream formulation of this same generator that operates on an input stream of requests to generate a new random number or to reset the sequence to a specified value...
分类:
其他好文 时间:
2015-03-29 16:37:04
阅读次数:
151
练习3-64原文Exercise 3.64. Write a procedure stream-limit that takes as arguments a stream and a number (the tolerance). It should examine the stream until it finds two successive elements that differ in...
分类:
其他好文 时间:
2015-03-29 09:31:45
阅读次数:
133
题目链接:combination-sum
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
*
Given a set of candidate numbers (C) and a target number (T),
find all unique combin...
分类:
其他好文 时间:
2015-03-29 09:30:28
阅读次数:
159