33, 45, 87, 99, 27
算平均
herrDeng網內搜尋
自訂搜尋
Ads
訂閱:
張貼留言 (Atom)
熱門文章
-
教育部為提昇全民資安素養與電腦防護能力,本部於101年9月5日至11月5日舉辦「全民資安素養自我評量」活動,請在活動期間內踴躍上網檢測資訊安全素養認知程度,並有機會參與抽獎,詳情請參閱活動網站(網址: https://isafe.moe.edu.tw/event
-
先說明一下這是後知後覺的解答,所謂後知就是股票價格已知存在陣列(清單),當然就要用迴圈練習,雙迴圈暴力解需時O(n**2),當然不用,採python單一迴圈解答「最佳股票的買賣時機#LeetCode 121 Best Time to Buy and Sell Stock」,解...
-
url="https://www.twse.com.tw/exchangeReport/STOCK_DAY?response=json&date=20220330&stockNo=2330"
-
你會用C的算子sizeof?
-
Python CPP heap priority queue速解L eetcode 2530. Maximal Score After Applying K Operations heap/priority queue是重要的資料結構,無論是C++的std::priority_q...
-
C++ DP動態規劃解Leetcode 937 Maximum Number of Points with Cost 有些標示medium要比標示hard的問題還要難,Leetcode 1937. Maximum Number of Points with Cost,DP動態規...
68 則留言:
public class ex2 {
public static void main(String[] args) {
int x = 33;
int y = 45;
int a = 87;
int b = 99;
int z = 27;
Double sum= (x+y+z+a+b)/5.0;
System.out.println(sum);
}
}
public class ex2 {
public static void main(String[] args) {
int x=33;
int y=45;
int z=87;
int a=99;
int b=27;
Double sum=(x+y+z+a+b)/5.0;
System.out.println(sum);
}
}
public class ex2 {
public static void main(String[] args) {
int x = 33;
int y = 45;
int z = 87;
int a = 99;
int b = 27;
Double sum = (x+y+z+a+b)/5.0;
System.out.println(sum);
}
}
public class a01 {
public static void main(String[] args) {
int [] A={33,45,87,99,27};
int SUM=0;
for(int i=0;i < A.length;i++)
SUM+=A[i];
System.out.println(+SUM);
}
}
public class Toyz {
public static void main(String[] args) {
int a,h,q,x,y,sum;
a=33;
h=45;
q=87;
x=99;
y=27;
sum=0;
sum= a+h+q+x+y;
System.out.println(sum/5);
}
}
import java.util.Scanner;
public class ex01 {
public static void main(String[] args) {
int x,y,z,a,b;
Scanner input=new Scanner(System.in);
x=input.nextInt();
y=input.nextInt();
z=input.nextInt();
a=input.nextInt();
b=input.nextInt();
Double sum=(x+y+z+a+b)/5.0;
System.out.println(sum);
}
}
import java.util.Scanner;
public class pe1 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int x = input.nextInt();
int y = input.nextInt();
int z = input.nextInt();
int a = input.nextInt();
int b = input.nextInt();
int sum=a+b+x+y+z;
System.out.println(sum);
System.out.println(sum/5.0);
}
}
public class ex1 {
public static void main(String[] args) {
int q=33,a=45,z=87,w=99,s=27,sum=0;
sum=q+a+z+w+s;
System.out.println("平均="+sum/5.0);
}
}
平均=58.2
public class hello1 {
public static void main(String[] args) {
System.out.println("hello");
}
}
public class EX01
public static void main(String[] args) {
int x=33;
int y=45;
int z=87;
int a=99;
int b=27;
int sum=x+y+z+a+b;
System.out.println(sum/5.0);
}
}
public class ex02 {
public static void main(String[] args) {
int x=33;
int y=45;
int z=87;
int a=99;
int b=27;
int sum=x+y+z+a+b;
System.out.println(sum/5.0);
}
}
public class ex02 {
public static void main(String[] args) {
int x=33; int y=45; int a=87; int b=99; int c=27; int sum=x+y+a+b+c; System.out.print(sum/5.0); }
}
public class ex1 {
public static void main(String[] args) {
int a=33;
int b=45;
int x=87;
int y=99;
int z=27;
int sum=a+b+x+y+z;
System.out.println(sum/5.0);
}
}
public class exe1 {
public static void main(String[] args) {
int a=33,b=45,c=87,d=99,e=27;
int sum = a+b+c+d+e;
double avg = sum / 5.0;
System.out.println(avg);
}
}
// 33, 45, 87, 99, 27
public class ex1 {
public static void main(String[] args) {
int x=33;
int y=45;
int z=87;
int a=99;
int b=27;
int sum=x+y+z+a+b;
System.out.println(sum/5.0);
}
}
public class ex02 {
public static void main(String[] args) {
int x=33;
int y=45;
int z=87;
int b=99;
int c=27;
int sum=x+y+z+b+c;
System.out.println(sum/5.0);
}
}
public class ex1 {
public static void main(String[] args) {
int x=33;
int y=45;
int z=87;
int b=99;
int c=27;
int sum=x+y+z+b+c;
System.out.println(sum/5.0);
}
}
public class ex2 {
public static void main(String[] args) {
int x=33;
int y=45;
int z=87;
int b=99;
int c=27;
int sum=x+y+z+b+c;
System.out.println(sum/5.0);
}
}
public class ex02 {
public static void main(String[] args) {
int x=33;
int y=45;
int z=87;
int b=99;
int c=27;
int sum=x+y+z+b+c;
System.out.println(sum/5.0);
}
}
public class ex01 {
public static void main(String[] args) {
int x=33;
int Y=45;
int z=87;
int b=99;
int c=27;
int sum=x+Y+z+b+c;
System.out.println(sum/5.0);
}
}
public class ex01 {
public static void main(String[] args) {
int x=33;
int Y=45;
int z=87;
int b=99;
int c=27;
int sum=x+Y+z+b+c;
System.out.println(sum/5.0);
}
}
public class e123 {
public static void main(String[] args) {
int q=33,w=45,r=87,t=99,y=27,sum=0;
sum=q+w+r+t+y;
System.out.println("平均="+sum/5.0);
}
}
平均=58.2
package o;
public class one {
public static void main(String[] args) {
int a=33, a1=45, a2=87, a3=99, a4=27;
int sum=a+a1+a2+a3+a4;
double avg=sum/5.0;
System.out.println(avg);
}
}
public class ex1 {
public static void main(String[] args) {
// 33, 45, 87, 99, 27
int a=33, b=45, c=87, d=99, e=27;
int sum=a+b+c+d+e;
double av=sum/5.0;
System.out.println(av);
public class ex02 {
public static void main(String[] args) {
int x,y,z,a,b;
x=33;
y=45;
z=87;
a=99;
b=27;
double A=(x+y+z+a+b)/5.0;
System.out.println(A);
}
}
public class ex01 {
public static void main(String[] args) {
int a=33, b=45, c=87, d=99, e=27;
int sum=a+b+c+d+e;
double av=sum/5.0;
System.out.println(av);
public class ex01 {
public static void main(String[] args) {
// 33, 45, 87, 99, 27
int a=33, b=45, c=87, d=99, e=27;
int sum=a+b+c+d+e;
double av=sum/5.0;
System.out.println(av);
}
}
public class ex02 {
public static void main(String[] args) {
int x,y,z,a,b;
x=33;
y=45;
z=87;
a=99;
b=27;
double A=(x+y+z+a+b)/5.0;
System.out.println(A);
}
}
public class ex02 {
public static void main(String[] args) {
int x,y,z,a,b;
x=33;
y=45;
z=87;
a=99;
b=27;
double A=(x+y+z+a+b)/5.0;
System.out.println(A);
}
}
public class ex02 {
public static void main(String[] args) {
int x,y,z,a,b;
x=33;
y=45;
z=87;
a=99;
b=27;
double A=(x+y+z+a+b)/5.0;
System.out.println(A);
}
}
public class ex02 {
public static void main(String[] args) {
int x,y,z,a,b;
x=33;
y=45;
z=87;
a=99;
b=27;
double A=(x+y+z+a+b)/5.0;
System.out.println(A);
}
}
public class ex02 {
public static void main(String[] args) {
int x,y,z,a,b;
x=33;
y=45;
z=87;
a=99;
b=27;
double A=(x+y+z+a+b)/5.0;
System.out.println(A);
}
}
public class ex02 {
public static void main(String[] args) {
int x,y,z,a,b;
x=33;
y=45;
z=87;
a=99;
b=27;
double A=(x+y+z+a+b)/5.0;
System.out.println(A);
}
}
public class ex02 {
public static void main(String[] args) {
int x,y,z,a,b;
x=33;
y=45;
z=87;
a=99;
b=27;
double A=(x+y+z+a+b)/5.0;
System.out.println(A);
}
}
public class ex02 {
public static void main(String[] args) {
int x,y,z,a,b;
x=33;
y=45;
z=87;
a=99;
b=27;
double A=(x+y+z+a+b)/5.0;
System.out.println(A);
}
}
public class ex02 {
public static void main(String[] args) {
int x,y,z,a,b;
x=33;
y=45;
z=87;
a=99;
b=27;
double A=(x+y+z+a+b)/5.0;
System.out.println(A);
}
}
public class ex02 {
public static void main(String[] args) {
int x,y,z,a,b;
x=33;
y=45;
z=87;
a=99;
b=27;
double A=(x+y+z+a+b)/5.0;
System.out.println(A);
}
}
public class ex02 {
public static void main(String[] args) {
int x,y,z,a,b;
x=33;
y=45;
z=87;
a=99;
b=27;
double A=(x+y+z+a+b)/5.0;
System.out.println(A);
}
}
public class ex02 {
public static void main(String[] args) {
int x,y,z,a,b;
x=33;
y=45;
z=87;
a=99;
b=27;
double A=(x+y+z+a+b)/5.0;
System.out.println(A);
}
}
public class god {
public static void main(String[] args) {
int x,y,z,a,b,sum;
x=33;
y=45;
z=87;
a=99;
b=27;
sum=0;
sum = x+y+z+a+b+sum;
System.out.println(sum/5);
}
}
public class ex1 {
public static void main(String[] args) {
int x,y,z,a,b,sum=0;
x=33;y=45;z=87;a=99;b=27;
sum=x+y+z+a+b;
System.out.println(sum);
double av=sum/5.0;
System.out.println(av);
}
}
public class EX01
public static void main(String[] args) {
int x=33;
int y=45;
int z=87;
int a=99;
int b=27;
int sum=x+y+z+a+b;
System.out.println(sum/5.0);
}
}
public class ex02 {
public static void main(String[] args) {
int x=33;
int Y=45;
int z=87;
int b=99;
int c=27;
int sum=x+Y+z+b+c;
System.out.print(sum/5.0);
}
}
public class a01 {
public static void main(String[] args) {
int [] A={33,45,87,99,27};
int SUM=0;
for(int i=0;i <A.length;i++){
SUM+=A[i];
}
System.out.println(SUM/5);
}
}
public class ex01 {
public static void main(String[] args) {
int x=33;
int y=45;
int z=87;
int a=99;
int b=27;
int sum=x+y+z+a+b;
System.out.println(sum/5.0);
}
}
public class ex03 {
public static void main(String[] args) {
int x=33;
int y=45;
int z=87;
int a=99;
int b=27;
int sum=x+y+z+a+b;
System.out.println(sum/5.0);
}
}
public class ex1 {
public static void main(String[] args) {
int q=33,a=45,z=87,w=99,s=27,sum=0;
sum=q+a+z+w+s;
System.out.println("平均="+sum/5.0);
}
}
平均=58.2
public class ex1 {
public static void main(String[] args) {
int x=33;
int y=45;
int z=87;
int a=99;
int b=27;
Double sum=(x+y+z+a+b)/5.0;
System.out.println(sum);
}
}
public class ex2 {
public static void main(String[] args) {
int x = 33;
int y = 45;
int z = 87;
int a = 99;
int b = 27;
Double sum = (x+y+z+a+b)/5.0;
System.out.println(sum);
}
}
public class ex01 {
public static void main(String[] args) {
int x,y,z,a,b;
x=33;
y=45;
z=87;
a=99;
b=27;
double A=(x+y+z+a+b)/5.0;
System.out.println(A);
}
}
public class ex1b {
public static void main(String[] args) {
int x[]={33,45,87,99,27};
int sum=0;
for(int a:x)
sum+=a;
System.out.println(sum);
System.out.println(sum/5.0);
}
}
public class ex1b {
public static void main(String[] args) {
int x[]={33,45,87,99,27};
int sum=0;
for(int a:x)
sum+=a;
System.out.println(sum);
System.out.println(sum/5.0);
}
}
public class ex1b {
public static void main(String[] args) {
int x[]={33,45,87,99,27};
int sum=0;
for(int a:x)
sum+=a;
System.out.println(sum);
System.out.println(sum/5.0);
}
}
public class ex1b {
public static void main(String[] args) {
int x[]={33,45,87,99,27};
int sum=0;
for(int a:x)
sum+=a;
System.out.println(sum);
System.out.println(sum/5.0);
}
}
public class ex1b {
public static void main(String[] args) {
int x[]={33,45,87,99,27};
int sum=0;
for(int a:x)
sum+=a;
System.out.println(sum);
System.out.println(sum/5.0);
}
}
public class ex1b {
public static void main(String[] args) {
int x[]={33,45,87,99,27};
int sum=0;
for(int a:x)
sum+=a;
System.out.println(sum);
System.out.println(sum/5.0);
}
}
public class ex01 {
public static void main(String[] args) {
int x[]={33,45,87,99,27};
int sum=0;
for(int a:x)
sum+=a;
System.out.println(sum);
System.out.println(sum/5.0);
}
}
public class ex01 {
public static void main(String[] args) {
int x[]={33,45,87,27};
int sum=0;
for(int a:x)
sum+=a;
System.out.println(sum);
System.out.println(sum/5.0);
}
}
package b2;
public class p1 {
public static void main(String[] args) {
int x,y,a,z,d;
x=33;
y=45;
a=87;
z=99;
d=27;
double A=(x+z+y+a+d)/5.0;
System.out.println(A);
}
}
public class ex02 {
public static void main(String[] args) {
int x,y,z,a,b;
x=33;
y=45;
z=87;
a=99;
b=27;
double A=(x+y+z+a+b)/5.0;
System.out.println(A);
}
}
public class ex1 {
public static void main(String[] args) {
int q=33,a=45,z=87,w=99,s=27,sum=0;
sum=q+a+z+w+s;
System.out.println("平均="+sum/5.0);
}
}
public class ex02 {
public static void main(String[] args) {
int x,y,z,a,b;
x=33;
y=45;
z=87;
a=99;
b=27;
double A=(x+y+z+a+b)/5.0;
System.out.println(A);
}
}
public class ex1 {
public static void main(String[] args) {
int q=33,a=45,z=87,w=99,s=27,sum=0;
sum=q+a+z+w+s;
System.out.println("平均="+sum/5.0);
}
}
public class ex1b {
public static void main(String[] args) {
int x[]={33,45,87,99,27};
int sum=0;
for(int a:x)
sum+=a;
System.out.println(sum);
System.out.println(sum/5.0);
}
}
public class ex1b {
public static void main(String[] args) {
int x[]={33,45,87,99,27};
int sum=0;
for(int a:x)
sum+=a;
System.out.println(sum);
System.out.println(sum/5.0);
}
}
public class ex1b {
public static void main(String[] args) {
int x[]={33,45,87,99,27};
int sum=0;
for(int a:x)
sum+=a;
System.out.println(sum);
System.out.println(sum/5.0);
}
}
public class ex01 {
public static void main(String[] args) {
int a=33, b=45, c=87, d=99, e=27;
int sum=a+b+c+d+e;
double av=sum/5.0;
System.out.println(av);
public class e123 {
public static void main(String[] args) {
int q=33,w=45,r=87,t=99,y=27,sum=0;
sum=q+w+r+t+y;
System.out.println("平均="+sum/5.0);
}
}
平均=58.2
張貼留言