摘要: 数独顾名思义——每个数字只能出现一次。数独是一种源自18世纪末的瑞士,后在美国发展、并在日本得以发扬光大的数字谜题。数独盘面是个九宫,每一宫又分为九个小格。在这八十一格中给出一定的已知数字和解题条件,利用逻辑和推理,在其他的空格上填入1-9的数字。使1-9每个数字在每一行、每一列和每一宫中都只出现一 阅读全文
posted @ 2016-12-09 08:28 Smily-C 阅读(746) 评论(0) 推荐(0) 编辑
摘要: 古代数学巨著《九章算数》中有这么一道题叫“五家共井,甲二绠(汲水用的井绳)不足,如(接上)乙一绠;乙三绠不足,如丙一绠; 丙四绠不足,如丁一绠;丁五绠不足,如戊一绠;戊六绠不足,如甲一绠,皆及。 意思就是说五家人共用一口井,甲家的绳子用两条不够,还要再用乙家的绳子一条才能打到井水;乙家的绳子用三条不 阅读全文
posted @ 2016-12-09 08:27 Smily-C 阅读(959) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Draw... 阅读全文
posted @ 2014-09-30 14:50 Smily-C 阅读(518) 评论(0) 推荐(0) 编辑
摘要: 命名空间:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using Excel... 阅读全文
posted @ 2014-09-30 14:48 Smily-C 阅读(711) 评论(0) 推荐(0) 编辑
摘要: http://www.360doc.com/content/14/0607/22/3218170_384676643.shtml 阅读全文
posted @ 2014-08-05 17:54 Smily-C 阅读(227) 评论(0) 推荐(0) 编辑
摘要: JavaStringmessage="hesawaracecar";StringBuilderrev=newStringBuilder();for(inti=message.length()-1;i>=0;i--)rev.append(message.charAt(i));System.out.pr... 阅读全文
posted @ 2014-08-05 17:35 Smily-C 阅读(408) 评论(0) 推荐(0) 编辑
摘要: intsum=0;for(inti=10;i<=100;i++)if(i%3==0||i%5==0)sum+=i;System.out.println(sum); 阅读全文
posted @ 2014-08-05 17:34 Smily-C 阅读(361) 评论(0) 推荐(0) 编辑
摘要: SELECT GROUP_CONCAT( CONCAT( CONCAT("{\"userName\": \"", userName, "\""), CONCAT(", \"email: \"", email, "\"}") ) ... 阅读全文
posted @ 2014-08-05 10:26 Smily-C 阅读(398) 评论(0) 推荐(0) 编辑
摘要: http://liutiemeng.blog.51cto.com/120361/91631/http://developer.51cto.com/art/200809/88207.htm(一些处理)http://www.cnblogs.com/zcttxs/archive/2012/04/01/24... 阅读全文
posted @ 2014-07-19 21:57 Smily-C 阅读(194) 评论(0) 推荐(0) 编辑
摘要: javascript 动态创建 input 文本框 阅读全文
posted @ 2014-07-08 23:16 Smily-C 阅读(4828) 评论(0) 推荐(0) 编辑