Yahoo奇摩 網頁搜尋

1. 求救JAVA 解數獨

.... out .println("Original:"); y.printModel(); if (y. solve (0, 0)) { System. out .println("Solution:"); y.printModel(); } else ...

2. JAVA做Hanoi tower及pseudo-random

... scan = new Scanner(System.in); System. out .print("Enter the number of disks: "); n = ...

3. Java and y = a*x2 + b*x + c

...[3]); y= a*x*x+b*x+c; System. out .println("y="+y); } } } 2009-05-01 14:56:56 補充： // Note! the above program solves by judging (1) whether (a, b, c) is inputted...

4. Counting lines, words by Java.

... the number of characters in a word } } System. out .println("Line number: " + lineCount); System...

5. 請C語言高手幫忙解釋一下名詞

這些東西任何一本C++語言的書 都會有解釋 可以像其他同學 借書來翻翻看

6. 急~~請perl高手解答(20點)

#!/usr/bin/perl-w use strict; my (\$aa,\$bb,\$cc); chomp (\$aa=<STDIN>); chomp (\$bb=<STDIN>); chomp (\$cc=<STDIN>); my (\$sol1,\$sol2,\$dec); if (\$aa !=0){ \$dec = \$bb^2 - 4*\$aa*\$cc; \$sol1 = (-\$bb+\$dec)/(2*\$aa); \$sol2 = (-\$bb-\$dec)/(2*\$aa...

7. 請JAVA高手幫幫忙

...100); } for (i = 1; i <= PSSs.length; i++) { System. out .print("Problem Solving Session " + i + ": "); PSSs[i-1] = input(scan, 0, 1...

8. 圖片處理程式的一些問題

...反過來求解 假設 center = (w/2, h/2) = (x0, y0) = p0 given p' = (x,y) solve the unknown p |p'-p0| = R = r^n |p-p0| = r = R^ (1/n) p = p0...

9. 請C++高手來幫忙解答一下20點

你問的另一題我答了scope rule。scope rule 規定了範圍，是compile time 處理的東東；lifetime是指它的生命期，是 run time的東東。除了上述的不同外，兩者大多情況下一樣；但不是永遠一樣。如：int func1(){}int LONG_LIFE;int func2(){ static int long_life;         int short_life;}這 2 個...

10. 如何使用C語言寫下面這一個程式(星期二之前)急!!!

... prisonerXXX, I did not find out your bug. In fact I was too sleepy... saw your code. It's cool to solve it by recursive (or solve C(N, n) by recursive...