02 2012 档案
1.2.7 IBM Minus One 43.37%(504,1162)
摘要:Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1162 Accepted Submission(s): 504Problem DescriptionYou may have heard of the book '2001 - A Space Odyssey' by Arthur C. Clarke, or the film of the same name by Stanley Kubrick. In it a spaces 阅读全文
posted @ 2012-02-21 10:45 Samuel Yang 阅读(225) 评论(0) 推荐(0)
模糊信息处理作业——统计隶属函数
摘要:membership.mfunction [man]=membership(database)[row,column]=size(database);mi=database(1,2);ma=database(1,3);for i=2:row t=database(i,2); if(mi>t) mi=t; end t=database(i,3); if(ma<t) ma=t; endendlong=ma-mi+1;man(:,1)=linspace(mi,ma,long);man(:,2)=[0];for i=1:long for j=1:row ... 阅读全文
posted @ 2012-02-20 09:59 Samuel Yang 阅读(225) 评论(0) 推荐(0)
模糊信息处理作业——生成模糊控制表
摘要:View Code #include<iostream>#include<iomanip>#include<stdio.h>using namespace std;//PB,PS,Z,NS,NB分别为0,1,2,3,4double minu(double a,double b){ if(a<b) return a; else return b;}int main(){ double e[5][9]={ {0,0,0,0,0,0,0,0.5,1}, {0,0,0,0,0,0.5,1,0.5,0}, {0,0,... 阅读全文
posted @ 2012-02-20 09:36 Samuel Yang 阅读(419) 评论(0) 推荐(0)
1.2.5 decimal system 40.03%(492,1229)
摘要:Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1229 Accepted Submission(s): 492Problem DescriptionAs we know , we always use the decimal system in our common life, even using the computer. If we want to calculate the value that 3 plus 9, we just 阅读全文
posted @ 2012-02-19 19:42 Samuel Yang 阅读(284) 评论(0) 推荐(0)
1.2.6 GPA 41.30%(477,1155)
摘要:Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1155 Accepted Submission(s): 477Problem DescriptionEach course grade is one of the following five letters: A, B, C, D, and F. (Note that there is no grade E.) The grade A indicates superior achieveme 阅读全文
posted @ 2012-02-19 19:42 Samuel Yang 阅读(212) 评论(0) 推荐(0)
1.2.3 Buildings 76.38%(582,762)
摘要:Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 762 Accepted Submission(s): 582Problem DescriptionWe divide the HZNU Campus into N*M grids. As you can see from the picture below, the green grids represent the buidings. Given the size of the HZNU C 阅读全文
posted @ 2012-02-19 15:47 Samuel Yang 阅读(214) 评论(0) 推荐(0)
1.2.2 Rightmost Digit 28.63%(576,2012)
摘要:Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2012 Accepted Submission(s): 576Problem DescriptionGiven a positive integer N, you should output the most right digit of N^N.InputThe input contains several test cases. The first line of the input is 阅读全文
posted @ 2012-02-18 23:07 Samuel Yang
1.2.1 Text Reverse 30.53%(556,1821)
摘要:Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1821 Accepted Submission(s): 556Problem DescriptionIgnatius likes to write words in reverse way. Given a single line of text which is written by Ignatius, you should reverse all the words and then ou 阅读全文
posted @ 2012-02-18 23:03 Samuel Yang 阅读(187) 评论(0) 推荐(0)
1.1.8 A+B for Input-Output Practice (VIII) 33.43%(3182,9517)
摘要:Problem DescriptionYour task is to calculate the sum of some integers.InputInput contains an integer N in the first line, and then N lines follow. Each line starts with a integer M, and then M integers follow in the same line.OutputFor each group of input integers you should output their sum in one 阅读全文
posted @ 2012-02-18 22:58 Samuel Yang 阅读(178) 评论(0) 推荐(0)