需要練習的Java程式:
作業1.加權平均
作業2.費氏數列
作業3.課表矩陣
遞迴練習:
求GCD
求階乘n!
完成費氏數列
herrDeng網內搜尋

自訂搜尋
Ads
訂閱:
張貼留言 (Atom)
熱門文章
-
請用CPU-Z軟體檢測Cache & Memory 註:快取(L1-L3: SRAM) 第一級快取(L1)–通常存取只需要幾個週期,通常是幾十個KB。 第二級快取(L2)–比L1約有2到10倍較高延遲性,通常是幾百個KB或更多。 第三級快取(L3)(不...
-
C++ DP速解難題leetcode 3363 Find the Maximum Number of Fruits Collected [Python解請進]
-
需要練習的Java程式:
-
計算gcd(123456789,999999999)
-
輸入字串s 輸入int x 輸出 x個s
-
Leetcode 342 Power of Four幾個C++一行解 [codes on Leetcode] https://leetcode.com/problems/power-of-four/solutions/7081839/9-ways-of-bit-manipula...
-
問int怎麼存-689這個數字。 int用4個bytes。 答案請用16進位表達。
67 則留言:
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
package hw;
public class www {
public static void main(String[] args)
{
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
package HW1;
public class P1
{
public static void main(String[] args)
{
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
public class ff {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
public class ff {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
package zxcv;
public class asdf {
public static void main(String[] args) {
int n=21;
int[] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
package p1;
public class hw1 {
public static void main(String[] args) {
int n=21;
int []f=new int [n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
package b10333107;
public class ff {
public static void main(String[] args) {
int n=21;
int [] f=new int [n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
package h1;
public class w1 {
public static void main(String[] args) {
int n =21;
int [] f=new int [n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
public class ff {
public static void main(String[] args) {
int n=21;
int [] f=new int [n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
public class ff {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
public class hw1 { public static void main(String[] args) { int n=21; int [] f=new int[n]; f[0]=f[1]=1; for(int i=2;i"+f[i]); } } }
package p1;
public class hw1 {
public static void main(String[] args) {
int n=21;
int []f=new int [n];
f[0]=f[1]=1;
for(int i=2; i<n; i++){
f[i]=f[i-1]+f[i-2];
System.out.println(i+"--->"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int [n];
f[0]=f[1]=1;
for(int i=2 ; i<n; i++)
{
f[i]=f[i-1]+f[i+2];
System.out.println(i+"---->"+f[i]);
}
}
package ex11;
public class ccc {
public static void main(String[] args) {
int n=21;
int [] f=new int [n];
f[0]=f[1]=1;
for (int i=2; i"+f[i]);
}
}
}
package b10333107;
public class ff {
public static void main(String[] args) {
int n=21;
int [] f=new int [n];
f[0]=f[1]=1;
for(int i=2;i<n;i++)
{
f[i]=f[i-1]+f[i-2];
System.out.println(i+"------>"+f[i]);
}
}
}
public class ff {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2; i<n ; i++){
f[i]=f[i-1]+f[i-2];
System.out.println(i+"--->"+f[i]);
}
public class ff {
public static void main(String[] args) {
int n=21;
int [] f=new int [n];
f[0]=f[1]=1;
for (int i=2; i<n;i++){
f[i]=f[i-1]+f[i-2];
System.out.println(i+"--->"+f[i]);
}
}
}
public class ff { public static void main(String[] args) { int n=21; int [ ] f=new int[n]; f[0]=f[1]=1; for(int i=2;i"+f[i]); } } }
package hw;
public class www {
public static void main(String[] args)
{
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2; i<n; i++){
f[i]=f[i-1]+f[i-2];
System.out.println(i+"----->"+f[i]);
}
}
}
package ex7;
public class hw1 {
public static void main(String[] args) {
int n=21;
int []f=new int[n];
f[0]=f[1]=1;
for(int i=2;i<n;i++){
f[i]=f[i-1]+f[i-2];
System.out.println(i+"--->"+f[i]);
}
}
public class ff {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i<n;i++){
f[i]=f[i-1]+f[i-2];
System.out.println(i+"---->"+f[i]);
}
}
}
package h1;
public class w1 {
public static void main(String[] args) {
int n =21;
int [] f=new int [n];
f[0]=f[1]=1;
for(int i=2;i<n;i++){
f[i]=f[i-1]+f[i-2];
System.out.println(i+"--->"+f[i]);
}
}
}
package p1;
public class test1 {
public static void main(String[] args) {
int n=21;
int []f=new int [n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i<n;i++){
f[i]=f[i-1]+f[i-2];
System.out.println(i+"---->"+f[i]);
}
}
}
package h1;
public class w1 {
public static void main(String[] args) {
int n =21;
int [] f=new int [n];
f[0]=f[1]=1;
for(int i=2;i<n;i++){
f[i]=f[i-1]+f[i-2];
System.out.println(i+"--->"+f[i]);
}
}
}
package HW1;
public class P1
{
public static void main(String[] args)
{
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i<n;i++)
{
f[i]=f[i-1]+f[i-2];
System.out.println(i+"------>>"+f[i]);
}
}
}
package p1;
public class test1 {
public static void main(String[] args) {
int n=21;
int []f=new int [n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
package p1;
public class ff {
public static void main(String[] args) {
int n=21;
int []f=new int [n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i<n;i++){
f[i]=f[i-1]+f[i-2];
System.out.println(i+"---->"+f[i]);
}
}
}
package zxcv;
public class asdf {
public static void main(String[] args) {
int n=21;
int[] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i<n;i++){
f[i]=f[i-1]+f[i-2];
System.out.println(i+"--->"+f[i]);
}
}
}
package hw;
public class www {
public static void main(String[] args)
{
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2; i<n; i++){
f[i]=f[i-1]+f[i-2];
System.out.println(i+"----->"+f[i]);
}
}
}
package pp1;
public class h1 {
public static void main(String[] args) {
int n=21;
int []f=new int [n];
f[0]=f[1]=1;
for(int i=2; i<n; i++){
f[i]=f[i-1]+f[i-2];
System.out.println(i+"--->"+f[i]);
}
}
}
package hw;
public class www {
public static void main(String[] args)
{
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
package p1;
public class teat
{
public static void main(String[] args)
{
// TODO Auto-generated method stub
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
package p1;
public class hw1 {
public static void main(String[] args) {
int n=21;
int []f=new int [n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
public class ff {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2; i<i++){
f[i]=f[i-1]+f[i-2];
System.out.println(i+"--->"+f[i]);
}
}
}
package hw;
public class www {
public static void main(String[] args)
{
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
public class ff { public static void main(String[] args) { int n=21; int [] f=new int [n]; f[0]=f[1]=1; for(int i=2; i"+f[i]); } } }
package p1;
public class hw1 {
public static void main(String[] args) {
int n=21;
int []f=new int [n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
package p1;
public class hw1 {
public static void main(String[] args) {
int n=21;
int []f=new int [n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
package p1;
public class hw1 {
public static void main(String[] args) {
int n=21;
int []f=new int [n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
package hw;
public class www {
public static void main(String[] args)
{
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
package hw;
public class www {
public static void main(String[] args)
{
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
package p1;
public class hw1 {
public static void main(String[] args) {
int n=21;
int []f=new int [n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
package p1;
public class hw1 {
public static void main(String[] args) {
int n=21;
int []f=new int [n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
package P1;
public class hw1 {
public static void main(String[] args) {
// TODO Auto-generated method stub
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
package p1;
public class hw1 {
public static void main(String[] args) {
int n=21;
int []f=new int [n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
package p1;
public class ff {
public static void main(String[] args) {
int n=21;
int [] f=new int [n];
f[0]=f[1]=1;
for(int i=2;i<n;i++){
f[i]=f[i-1]+f[i-2];
System.out.println(i+"--->"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {int n=21;int [] f=new int[n]ㄤf[0]=f[1]=1;for(int i=2;i<n;i++){f[i]=f[i-1]+f[i-2];System.out.println(i+"---->"+f[i]);
}
}
}
package hw;
public class www {
public static void main(String[] args)
{
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
package hw;
public class www {
public static void main(String[] args)
{
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2; i"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {int n=21;int [] f=new int[n]ㄤf[0]=f[1]=1;for(int i=2;i"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
public class hw1 {
public static void main(String[] args) {
int n=21;
int [] f=new int[n];
f[0]=f[1]=1;
for(int i=2;i"+f[i]);
}
}
}
張貼留言