摘要: 24点计算器 没别的办法,只有把各种可能都计算一遍,然后得到能计算出24的表达式,并且尽可能的排除掉重复的表达式假设有a b c d四个数,操作符用op代替,则有(a op b) op (c op d) 或 ((a op b) op c) op d 两种形式程序用C# 2.0开发,支持计算 8 / (3 - 8 / 3) = 24 这种这个程序最伤脑筋的地方就是如何去掉重复的结果,我自己改写了Ge... 阅读全文
posted @ 2007-05-09 13:29 Yoshow 阅读(2119) 评论(0) 推荐(0)
摘要: using System;using System.Drawing;using System.Windows.Forms;using System.IO; public class FolderBrowserDialogExampleForm : System.Windows.Forms.Form{ private FolderBrowserDialog folderBrowserDialo... 阅读全文
posted @ 2007-05-09 11:43 Yoshow 阅读(909) 评论(1) 推荐(0)