herrDeng網內搜尋
自訂搜尋
Ads
2011年4月28日 星期四
訂閱:
張貼留言 (Atom)
熱門文章
-
url="https://www.twse.com.tw/exchangeReport/STOCK_DAY?response=json&date=20220330&stockNo=2330"
-
教育部為提昇全民資安素養與電腦防護能力,本部於101年9月5日至11月5日舉辦「全民資安素養自我評量」活動,請在活動期間內踴躍上網檢測資訊安全素養認知程度,並有機會參與抽獎,詳情請參閱活動網站(網址: https://isafe.moe.edu.tw/event
-
python pandas對黃金、外匯匯率的爬蟲練習,並使用matplotlib.pyplot的函數plot, scatter做資料視覺化處理,採用numpy的統計函數,分析黃金價格波動與歐元走勢的關聯。
-
Python C C++ 2 pointer速解Leetcode 2337 Move Pieces to Obtain a String 多日Leetcode的問題都可用2-pointer法來解,今日2337. Move Pieces to Obtain a String也不例...
-
你會用C的算子sizeof?
-
Leetcode的1652. Defuse the Bomb是絕佳的練習題,特別是針對Python的使用者,雖說是sliding window 是簡單的那種,還可練習loop, slicing, minus index etc . https://leetcode.com/pro...
56 則留言:
public class cc{
public static void main(String[]args){
int[]scores={83,82,84,82,81,68,80,88};
int[] c={2,2,2,3,3,3,3,3};
float a;
int cc=0,aa=0;
for(int i=0;i<8 ;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}
class cc{
public static void main(String[]args){
int []scores={83,82,62,98,76,80,79,76,87,84,77};
int []c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
public class cc{
public static void main(String[]args){
int[]scores={83,82,84,82,81,68,80,88};
int[] c={2,2,2,3,3,3,3,3};
float a;
int cc=0,aa=0;
for(int i=0;i<8 ;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}
public class cc{
public static void main(String[]args){
int[]scores={83,82,84,82,81,68,80,88};
int[] c={2,2,2,3,3,3,3,3};
float a;
int cc=0,aa=0;
for(int i=0;i<8 ;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}
public class cc{
public static void main(String[]args){
int[]scores={83,82,84,82,81,68,80,88};
int[] c={2,2,2,3,3,3,3,3};
float a;
int cc=0,aa=0;
for(int i=0;i<8 ;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}
class vv{
public static void main(String[] args){
int[] scores={89,93,72,92,76,80,77,82,94,86,75};
int[] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<11;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}
class vv{
public static void main(String[] args){
int[] scores={89,93,72,92,76,80,77,82,94,86,75};
int[] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<11;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}
class vv{
public static void main(String[] args){
int[] scores={89,93,72,92,76,80,77,82,94,86,75};
int[] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<11;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}
class cc{
public static void main(String[]args){
int []scores={83,82,62,98,76,80,79,76,87,84,77};
int []c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class java{
public static void main(String[] args){
int [] scores={90,77,83,88,68,60,63,43,40,80,78};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class java{
public static void main(String[] args){
int [] scores={90,77,83,88,68,80,73,83,90,80,78};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class g
{
public static void main (String[]arg)
{
int[] scores={57,77,39,39,80,77};
int[] c={2,2,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class g
{
public static void main (String[]arg)
{
int[] scores={57,77,39,39,80,77};
int[] c={2,2,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class java{
public static void main(String[] args){
int [] scores={82,83,72,94,70,73,60,64,79,71,74};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
⋯⋯int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class java{
public static void main(String[] args){
int [] scores={93,75,85,84,70,75,90,86,90,88,75};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class java{
public static void main(String[] args){
int [] scores={90,87,88,82,78,82,75,83,90,85,80};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class java{
public static void main(String[] args){
int [] scores={80,66,55,70,68,70,62,66,64,70,76};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class java{
public static void main(String[] args){
int [] scores={85,60,55,76,60,65,70,65,70,70,80};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class java{
public static void main(String[] args){
int [] scores={70,66,50,78,62,60,69,80,70,80,78};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class java{
public static void main(String[] args){
int [] scores={70,66,50,78,62,60,69,80,70,80,78};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class hello{
public static void main(String[] args){
int [] scores={80,75,60,70,83,71,50,75,83,84,65};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class tast{
public static void main(String[]args){
int []scores={89,77,66,92,65,70,73,85,94,83,77};
int []c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class cc{
public static void main(String [] args){
int [] scores={90,84,84,80,94,72,84,73,85,92,81,66};
int [] c={0,2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<12;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
jingmay13@yahoo.com.tw
class java{
public static void main(String[] args){
int [] scores={84,78,63,88,96,63,74,60,85,78,75};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class mod
{
public static void main(String [] argv)
{
int sum=0;
for(int x=1;x<=100;x++)
if(x%3==0 || x%7==0)
{
sum=sum+x;
}
System.out.println(sum);
}
}
public class java2{
public static void main(String[] argv){
int[] scores={70,70,70,70,70,70};
int[] c={2,2,2,2,2,2};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
public class java1 {
public static void main(String[] args) {
int[] scores={60,60,60,60,60,60};
int[] c={2,2,3,3,4,4};
float a;
int cc=0,aa=0;
for (int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
public class java1 {
public static void main(String[] args) {
int[] scores={60,60,60,60,60,60};
int[] c={2,2,3,3,4,4};
float a;
int cc=0,aa=0;
for (int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
public class java1 {
public static void main(String[] args) {
int[] scores={60,60,60,60,60,60};
int[] c={2,2,3,3,4,4};
float a;
int cc=0,aa=0;
for (int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
public class java1 {
public static void main(String[] args) {
int[] scores={60,60,60,60,60,60};
int[] c={2,2,3,3,4,4};
float a;
int cc=0,aa=0;
for (int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
public class aaa{
public static void main(String []args){
int [] scores={80,73,62,82,75,80,88,82,94,86,68};
int[] c={2,2,2,0,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class aaa{
public static void main(String [] args){
int[] score={50,60,70,80,50,60};
int[] c={2,2,3,3,4,4};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+score[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
public class apple{
public static void main(String []args){
int [] scores={89,74,68,81,71,82,86,85,92,83,65};
int[] c={2,2,2,0,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
1
public class java2{
public static void main(String[] argv){
int[] scores={70,70,70,70,70,70};
int[] c={2,2,2,2,2,2};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
public class java2{
public static void main(String[] argv){
int[] scores={70,70,70,70,70,70};
int[] c={2,2,2,2,2,2};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
public class java2{
public static void main(String[] argv){
int[] scores={70,70,70,70,70,70};
int[] c={2,2,2,2,2,2};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
asd
class cc{
public static void main(String[]args){
int []scores={83,82,62,98,76,80,79,76,87,84,77};
int []c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class java{
public static void main(String[] args){
int [] scores={90,77,83,88,68,60,63,43,40,80,78};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class jjj
{
public static void main(String [] arg)
{
int[] scores={60,60,70,80,90,80};
int[] c={2,2,3,3,4,4};
float a;
int cc=0,aa=0;
for (int i=0;i<6;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class cc{
public static void main(String [] args){
int [] scores={90,84,84,80,94,72,84,73,85,92,81,66};
int [] c={0,2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<12;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
public class cc{
public static void main(String[]args){
int[]scores={83,82,84,82,81,68,80,88};
int[] c={2,2,2,3,3,3,3,3};
float a;
int cc=0,aa=0;
for(int i=0;i<8 ;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}
class java{
public static void main(String[] args){
int [] scores={74,78,88,94,61,79,82,75,80,77,73};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class cc{
public static void main(String [] args){
int [] scores={90,60,84,80,70,72,84,90,85,92,81,45};
int [] c={0,2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<12;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class test
{
public static void main(String[]args)
{
int[]scores={78,75,80,68,75,69,72};
int[] c={3,3,3,3,3,2,2};
float a;
int m=0,n=0;
for(int i=0;i<7 ;i++)
{
m=m+c[i];
n=n+scores[i]*c[i];
}
a=(float)n/m;
System.out.print(a);
}
}
public class boom{
public static void main(String[]args)
{
int []scores={83,81,62,65,78,47,52,60,};
int [] c ={2,2,2,3,3,3,3,3,};
float a;
int cc=0,aa=0;
for(int i=0;i<8;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class test
{
public static void main(String[]args)
{
int[]scores={78,75,80,68,75,69,72};
int[] c={3,3,3,3,3,2,2};
float a;
int m=0,n=0;
for(int i=0;i<7 ;i++)
{
m=m+c[i];
n=n+scores[i]*c[i];
}
a=(float)n/m;
System.out.print(a);
}
}
public class a01{
public static void main(String[]args){
int[]scores={83,82,73,74,89,96,82,79};
int[] c={2,2,2,3,3,3,3,3};
float a;
int cc=0,aa=0;
for(int i=0;i<8 ;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}
class java{
public static void main(String[] args){
int [] scores={88,67,73,78,68,80,73,83,78,80,78};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class java{
public static void main(String[] args){
int [] scores={90,77,83,88,68,80,73,83,90,80,78};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
public class boom{
public static void main(String[]args)
{
int []scores={83,81,62,65,78,47,52,60,};
int [] c ={2,2,2,3,3,3,3,3,};
float a;
int cc=0,aa=0;
for(int i=0;i<8;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
public class y4{
public static void main(String []args){
int [] scores={89,93,72,92,75,80,88,82,94,86,68};
int[] c={2,2,2,0,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class java{
public static void main(String[] args){
int [] scores={85,73,80,87,67,80,74,85,93,84,83};
int [] c={0,0,0,2,2,2,3,3,3,3,3};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
class java{
public static void main(String[] args){
int [] scores={84,78,63,88,96,63,74,60,85,78,75};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}
張貼留言