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」,解...
-
你會用C的算子sizeof?
-
貪婪計數Python C++解Leetcode 2491 Divide Players Into Teams of Equal Skill 貪婪演算+counting sort加上2-pointer這樣就完成打敗100趴的快速C++解答[Python code請進] -----
-
Python CPP heap priority queue速解L eetcode 2530. Maximal Score After Applying K Operations heap/priority queue是重要的資料結構,無論是C++的std::priority_q...
-
Python C++ bitmask解Leetcode 1371 Find the Longest Substring Containing Vowels in Even Counts 建構一個容器first_seen[32](5個母音考慮2**5=32),它表示第一次看到的3...
-
C++ DP動態規劃解Leetcode 937 Maximum Number of Points with Cost 有些標示medium要比標示hard的問題還要難,Leetcode 1937. Maximum Number of Points with Cost,DP動態規...
95 則留言:
public class BMI {
static public void main (String[] args){
int m=165,w=67;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
public class yoyo {
static public void main (String [] args) {
int m= 165,w=56;
float yoyo=(float) w/(m*m) *10000;
System.out.print(yoyo);
}
}
class apple{
public static void main(String[] args)
{
int m=170;
int w=50;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
class apple {
public static void main(String[] args) {
int m=172;
int w=88;
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
class MtcTW{
public static void main(String[] args)
{
int m=165;
int w=50;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
public class JAVA {
public static void main(String[] args) {
int m=165;
int w=55;
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
class firis{
public static void main(String[] args)
{
int m=163;
int w=51;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
class bmi {
public static void main(String[] args) {
int m=166;
int w=88;
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
class fbi {
public static void main(String[] args) {
int m=180;
int w=95;
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
class bmi{
public static void main(String[] args)
{
int m=172;
int w=60;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
float bmi ;
int m=177 , w=87 ;
bmi= (float) w/(m*m)*10000;
System.out.println(bmi);
public class test_01 {
public static void main(String[] args) {
int h = 178;
int w = 62;
float bmi=(float)w/(h*h)*10000;
System.out.println(bmi);
}
}
public class No_02 {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
int m=163;
int w=63;
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
public class bb {
public static void main(String[] args) {
int m=180;
int w=70;
float bmi=w/((m*m)/10000);
System.out.print(bmi);
}
}
public class bb {
public static void main(String[] args) {
int m=180;
int w=70;
float bmi=w/((m*m)/10000);
System.out.print(bmi);
}
}
public class test1
{
public static void main(String[] args)
{
int x = 170 ;
int y = 63 ;
float bmi = (float) y /(x*x)*10000;
System.out.print(bmi);
}
}
public class bb {
public static void main(String[] args) {
int m=180;
int w=70;
float bmi=w/((m*m)/10000);
System.out.print(bmi);
}
}
public class test1
{
public static void main(String[] args)
{
int x = 170 ;
int y = 63 ;
float bmi = (float) y /(x*x)*10000;
System.out.print(bmi);
}
}
public class test1
{
public static void main(String[] args)
{
int x = 165 ;
int y = 55 ;
float bmi = (float) y /(x*x)*10000;
System.out.print(bmi);
}
}
public class test1
{
public static void main(String[] args)
{
int x = 179 ;
int y = 63 ;
float bmi = (float) y /(x*x)*10000;
System.out.print(bmi);
}
}
public class bb {
public static void main(String[] args) {
int m=180;
int w=70;
bmi=(float)w/((m*m)/10000);
System.out.print(bmi);
}
}
// height: 身高, weight: 體重
int height = 180;
int weight = 80;
float BMI = (float) weight / (height * height) * 10000;
System.out.println(BMI);
public class bb {
public static void main(String[] args) {
int m=170;
int w=65;
bmi=(float)w/((m*m)/10000);
System.out.print(bmi);
}
}
public class aa {
public static void main(String[] args) {
int m=175;
int w=75;
bmi=(float)w/((m*m)/10000);
System.out.print(bmi);
}
}
public class bb {
public static void main(String[] args) {
int m=180;
int w=70;
bmi=(float)w/((m*m)/10000);
System.out.print(bmi);
}
}
public class bb {
public static void main(String[] args) {
int m=180;
int w=70;
float bmi=(float)w/((m*m)/10000);
System.out.print(bmi);
}
}
class bmi {
public static void main(String[] args) {
int m=158;
int w=50;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
class bmi {
public static void main(String[] args) {
int m=158;
int w=50;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
class bmi {
public static void main(String[] args) {
int m=158;
int w=50;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
public class test1
{
public static void main(String[] args)
{
int x = 168 ;
int y = 68 ;
float bmi = (float) y /(x*x)*10000;
System.out.print(bmi);
}
}
class bmi {
public static void main(
String[] args) {
int m=145;
int w=38;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
class bmi {
public static void main(String[] args) {
int m=152;
int w=70;
float bmi;
bmi=(float) w/(m*m)*10000;
{
System.out.println(bmi);
}
}
}
class bmi {
public static void main(String[] args) {
int m=154;
int w=52;
float bmi;
bmi=(float) w/(m*m)*10000;
{
System.out.println (bmi);
}
}
}
public class bb {
public static void main(String[] args) {
int m=180;
int w=70;
float bmi=(float)w/((m*m)/10000);
System.out.print(bmi);
}
}
public class test1 {
public static void main(String[] args) {
int x = 168 ; int y =70 ; float bmi = (float) y /(x*x)*10000; System.out.print(bmi); }
}
public class test {
public static void main(String[] args){
int m=180;
int w=70;
float bmi=(float)w/((m*m)/10000);
System.out.print(bmi);
}
}
class hello {
public static void main(String[] args)
{
int m=160;
int w=52;
float bmi=(float)w/(m*m)*10000; System.out.print(bmi);}
}
public class test {
public static void main(String[] args){
int m=180;
int w=70;
float bmi=(float)w/((m*m)/10000);
System.out.print(bmi);
}
}
public class sor{
public static void mian(String[] args){
int m=177;
int w=60;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
class bmi {
public static void main(String[] args)
{
int m=172;
int w=72;
float bmi=(float)w/(m*m)*10000; System.out.print(bmi);}
}
class bmi {
public static void main(String[] args) {
int m=150;
int w=52;
float bmi;
bmi=(float) w/(m*m)*10000;
{
System.out.println(bmi);
}
}
}
public class bb {
public static void main(String[] args) {
int m=160;
int w=52;
float bmi=w/((m*m)/10000);
System.out.print(bmi);
}
}
public class san {
public static void main(String[] args) {
int m=164;
int w=57;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
public class bb {
public static void main(String[] args) {
int m=180;
int w=70;
float bmi=w/((m*m)/10000);
System.out.print(bmi);
}
}
public class hello{
public static void main(String[] args){
int m=180;
int w=70;
float bmi;
bmi=(float)w/(float)(m*m)*10000;
System.out.println(bmi);
}
}
class firis{
public static void main(String[] args)
{
int m=162;
int w=77;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
public class hello{
public static void main(String[] args){
int m=180;
int w=70;
float bmi;
bmi=(float)w/(float)(m*m)*10000;
System.out.println(bmi);
}
}
import java.util.*;
public class test2
{
public static void main(String[] args)
{
Scanner input=new Scanner(System.in);
System.out.println("請輸入身高");
int x =input.nextInt();
System.out.println(x);
System.out.println("請輸入體重");
int y =input.nextInt();
System.out.println(y);
float bmi=(float) y/(x*x)*10000;
System.out.print("你的BMI值為:");
System.out.print(bmi);
}
}
import java.util.*;
public class san {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
import java.util.*;
public class inputBMI {
static public void main(String[] args){
Scanner input=new Scanner(System.in);
int m,w;
System.out.print("請輸入身高:");
m=input.nextInt();
System.out.print("請輸入體重:");
w=input.nextInt();
float bmi;
bmi=(float)w/(m*m)*10000;
System.out.print("BMI="+bmi);
}
}
import java.util.*;
public class test2
{
public static void main(String[] args)
{
Scanner input=new Scanner(System.in);
System.out.println("請輸入身高");
int x =input.nextInt();
System.out.println(x);
System.out.println("請輸入體重");
int y =input.nextInt();
System.out.println(y);
float bmi=(float) y/(x*x)*10000;
System.out.print("你的BMI值為:");
System.out.print(bmi);
}
}
import java.util.*;
public class inputBMI {
static public void main(String[] args){
Scanner input = new Scanner(System.in);
int m= input.nextInt();
int w= input.nextInt();
float BMI;
BMI=(float)w /(m*m) * 10000 ;
System.out.print(BMI);
}
}
import java.util.*;
public class test2
{
public static void main(String[] args)
{
Scanner input=new Scanner(System.in);
System.out.println("請輸入身高");
int x =input.nextInt();
System.out.println(x);
System.out.println("請輸入體重");
int y =input.nextInt();
System.out.println(y);
float bmi=(float) y/(x*x)*10000;
System.out.print("你的BMI值為:");
System.out.print(bmi);
}
}
import java.util.Scanner;
public class b9933122_01 {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner kb =new Scanner(System.in);
System.out.print("請輸入體重=");
float w=kb.nextFloat();
System.out.print("請輸入身高=");
float h=kb.nextFloat();
float bmi=w/(h*h)*10000;
System.out.print(bmi);
}
}
import java.util.Scanner;
public class test3{
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
System.out.println("請輸入身高");
int x =input.nextInt();
System.out.println(x);
System.out.println("請輸入體重");
int y =input.nextInt();
System.out.println(y);
float bmi=(float) y/(x*x)*10000;
System.out.print("你的BMI值為");
System.out.print(bmi);
}
}
public class hello{
public static void main(String[] args){
int m=150;
int w=40;
float bmi;
bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
import java.util.*;
public class test2
{
public static void main(String[] args)
{
Scanner input=new Scanner(System.in);
System.out.println("請輸入身高");
int x =input.nextInt();
System.out.println(x);
System.out.println("請輸入體重");
int y =input.nextInt();
System.out.println(y);
float bmi=(float) y/(x*x)*10000;
System.out.print("你的BMI值為:");
System.out.print(bmi);
}
}
import java.util.Scanner;
public class T001 {
public static void main(String[] args) {
Scanner kb=new Scanner(System.in);
System.out.print("身高:");
float h=kb.nextFloat();
System.out.print("體重:");
float w=kb.nextFloat();
float bmi=w/(h*h)*10000;
System.out.println(bmi);
}
}
import java.util.Scanner;
public class JAVA {
public static void main(String[] args) {
Scanner kb =new Scanner(System.in);
System.out.print("輸入體重=");
float w=kb.nextFloat();
System.out.print("輸入身高=");
float h=kb.nextFloat();
float bmi=w/(h*h)*10000;
System.out.println(bmi);
}
}
import java.util.*;
class abc {
public static void main(String[]args)
{
Scanner input=new Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
import java.util.*;
class bmi {
public static void main (String [] args){
Scanner input=new Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
import java.util.*;
class bmi {
public static void main (String[] args) {
Scanner input=new Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
import java.util.*;
class bmi{
public static void main(String [] args){
Scanner input=new Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
import java.util.*;
class AAA {
public static void main (String [] args){
Scanner input=new Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
import java.util.*;
class bmi {
public static void main(String[] args)
{ Scanner input=new Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi); }
}
import java.util.*;
class lang { public static void main (String [] args){
Scanner input=new Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000; System.out.println(bmi);
}
}
import java.util.*;
public class san {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
import java.util.*;
public class test2
{
public static void main(String[] args)
{
Scanner input=new Scanner(System.in);
System.out.println("請輸入身高");
int x =input.nextInt();
System.out.println(x);
System.out.println("請輸入體重");
int y =input.nextInt();
System.out.println(y);
float bmi=(float) y/(x*x)*10000;
System.out.print("你的BMI值為:");
System.out.print(bmi);
}
}
import java.util.*;
public class san {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
public class NYPD {
public static void main(String[] args) {
int m=177;
int w=100;
float bmi=w/((m*m)/10000);
System.out.print(bmi);
}
}
import java.util.*;
public class test2
{
public static void main(String[] args)
{
Scanner input=new Scanner(System.in);
System.out.println("請輸入身高");
int x =input.nextInt();
System.out.println(x);
System.out.println("請輸入體重");
int y =input.nextInt();
System.out.println(y);
float bmi=(float) y/(x*x)*10000;
System.out.print("你的BMI值為:");
System.out.print(bmi);
}
}
import java.util.*;
public class test2
{
public static void main(String[] args)
{
Scanner input=new Scanner(System.in);
System.out.println("請輸入身高");
int x =input.nextInt();
System.out.println(x);
System.out.println("請輸入體重");
int y =input.nextInt();
System.out.println(y);
float bmi=(float) y/(x*x)*10000;
System.out.print("你的BMI值為:");
System.out.print(bmi);
}
}
import java.util.*;
class bb {
public static void main (String [] args){
Scanner input=new
Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
import java.util.*;
public class test2
{
public static void main(String[] args)
{
Scanner input=new Scanner(System.in);
System.out.println("請輸入身高");
int x =input.nextInt();
System.out.println(x);
System.out.println("請輸入體重");
int y =input.nextInt();
System.out.println(y);
float bmi=(float) y/(x*x)*10000;
System.out.print("你的BMI值為:");
System.out.print(bmi);
}
}
import java.util.*;
class bb {
public static void main (String [] args){
Scanner input=new
Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
import java.util.*;
class hello {
public static void main (String [] args)
{
Scanner input=new Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
import java.util.*;
class hello {
public static void main (String [] args)
{
Scanner input=new Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
mport java.util.*;
class hello {
public static void main (String [] args)
{
Scanner input=new Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
import java.util.*;
class hello {
public static void main (String [] args)
{
Scanner input=new Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
}
}
import java.util.*;
public class test2
{
public static void main(String[] args)
{
Scanner input=new Scanner(System.in);
System.out.println("請輸入身高");
int x =input.nextInt();
System.out.println(x);
System.out.println("請輸入體重");
int y =input.nextInt();
System.out.println(y);
float bmi=(float) y/(x*x)*10000;
System.out.print("你的BMI值為:");
System.out.print(bmi);
}
}
public class hello{ public static void main(String[] args){ int m=180; int w=70; float bmi; bmi=(float)w/(float)(m*m)*10000; System.out.println(bmi); }}.
import java.util.*;
public class abc
{
public static void main(String[] args)
{
Scanner input=new Scanner(System.in);
System.out.println("請輸入身高");
int x =input.nextInt();
System.out.println(x);
System.out.println("請輸入體重");
int y =input.nextInt();
System.out.println(y);
float bmi=(float) y/(x*x)*10000;
System.out.print("你的BMI值為:");
System.out.print(bmi);
}
}
import java.util.*;
public class inputBMI {
static public void main(String[] args){
Scanner input=new Scanner(System.in);
int m,w;
System.out.print("請輸入身高:");
m=input.nextInt();
System.out.print("請輸入體重:");
w=input.nextInt();
float bmi;
bmi= (float)w/(m*m)*10000;
System.out.print("BMI="+bmi);
}
}
import java.util.*;
public class san {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
if ( bmi<18.4 )
{
System.out.println("過輕");
}
else if (bmi <24 )
{
System.out.println("標準");
}
else if (bmi >24 ){
System.out.println("過重");
}
else {
System.out.println("肥胖");}
}
}}
}
import java.util.*;
public class san {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int m=input.nextInt();
int w=input.nextInt();
float bmi=(float)w/(m*m)*10000;
System.out.println(bmi);
if ( bmi<18.4 )
{
System.out.println("過輕");
}
else if (bmi <24 )
{
System.out.println("標準");
}
else if (bmi >24 ){
System.out.println("過重");
}
else {
System.out.println("肥胖");}
}
}}
}
class apple{
public static void main(String[] args)
{
int m=170;
int w=50;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
public class bb {
public static void main(String[] args) {
int m=180;
int w=70;
bmi=(float)w/((m*m)/10000);
System.out.print(bmi);
}
}
public class bb {
public static void main(String[] args) {
int m=180;
int w=70;
bmi=(float)w/((m*m)/10000);
System.out.print(bmi);
}
}
public class BMI {
static public void main (String[] args){
int m=162,w=80;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
public class BMI {
static public void main (String[] args){
int m=162,w=80;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
public class BMI {
static public void main (String[] args){
int m=162,w=80;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
public class BMI {
static public void main (String[] args){
int m=162,w=80;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
public class BMI {
static public void main (String[] args){
int m=162,w=80;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
public class sor{
public static void mian(String[] args){
int m=200;
int w=100;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
public class BMI {
static public void main (String[] args){
int m=165,w=67;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
public class BMI {
static public void main (String[] args){
int m=173,w=61;
float bmi=(float)w/(m*m)*10000;
System.out.print(bmi);
}
}
張貼留言