Description“Point, point, life of student!”This is a ballad(歌谣)well known in colleges, and you must care about your score in this exam too. How many p...
分类:
其他好文 时间:
2015-01-23 17:37:31
阅读次数:
226
1、设置动画
模仿一些软件文字慢慢淡出效果,主要用到移动动画(负责view移动),缩放动画(负责view在移动过程中不断的缩小)和透明度动画(在移动的过程中减少文字透明度)。
int[] location = new int[2];
tv_score_animation.getLocationInWindow(location); //获取当前view的位置
private void ...
分类:
其他好文 时间:
2015-01-22 20:19:01
阅读次数:
263
Description“Point, point, life of student!”This is a ballad(歌谣)well known in colleges, and you must care about your score in this exam too. How many p...
分类:
其他好文 时间:
2015-01-22 14:38:12
阅读次数:
187
Description“Point, point, life of student!”This is a ballad(歌谣)well known in colleges, and you must care about your score in this exam too. How many p...
分类:
其他好文 时间:
2015-01-22 13:05:11
阅读次数:
229
1、数值比较! /bin/bashecho "enter a score:"read num1if [ $num1 -ge 80 ]then echo "Very Good"elif [ $num1 -lt 80 -a $num1 -ge 60 ]then echo "Good"else echo ...
分类:
系统相关 时间:
2015-01-22 12:53:09
阅读次数:
230
输入一个字典(用******结尾),然后再输入若干单词。每输入一个单词w,你都需要在字典中找出所有可以用w的字母重排后得到的单词,并按照字典次序从小到大的顺序在一行中输出(如果不存在,输出:}).输入单词之间用空格或空行隔开,且所有输入单词都由不超过6个小写字母组成.注意,字典中的单词不一定案子点序列排列.
样例输入:
tarp given score refund only trap wor...
分类:
其他好文 时间:
2015-01-21 09:01:15
阅读次数:
162
首先创建一个数据库,里面有 登录表 学生表 课程表 选课表 成绩表 1、 查询Student表中的所有记录的Sname、Ssex和Class列。2、 查询教师所有的单位即不重复的Depart列。3、 查询Student表的所有记录。4、 查询Score表中成绩在60到80之间的所有记录。5、 查询S...
分类:
数据库 时间:
2015-01-20 13:42:49
阅读次数:
278
http://acm.hdu.edu.cn/showproblem.php?pid=5074题意:给你一个的矩阵score[i][j],然后给你一个数列,数列中有一些是-1,代表这个数可以换成1~m的任意一个数,然后求的最大值。思路:二维dp,dp[i][j]代表i位置的数为j的最大和。 通过前面求...
分类:
其他好文 时间:
2015-01-19 12:16:23
阅读次数:
97
比如一个学生类class Student { public string Name { get; set; } public int Score { get; set; } public stri...
分类:
其他好文 时间:
2015-01-19 09:08:02
阅读次数:
188
1. 查找前几名--25、查询各科成绩前三名的记录:(不考虑成绩并列情况) --不考虑重复SELECT courseid,score,row_number() OVER(PARTITION BY courseid ORDER BY score DESC) AS rn FROM tblScore--考...
分类:
其他好文 时间:
2015-01-18 20:58:48
阅读次数:
188