自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 杭电OJ 1001 多项式求和 java 序列求和

import java.math.BigInteger; import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner s = new Scanner(System.in); while(s.hasNextBigInteger()) { BigInteger n = s.nextBigIn

2021-11-28 22:08:04 238

原创 杭电oj 文字反转 1062 java保姆级教程

先给代码 再来详细讲解 import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner s = new Scanner(System.in); int n = s.nextInt(); int count = 0; String str = s.nextLine(); for (int i = 0

2021-11-21 15:36:30 497 1

原创 杭电OJ 1720 java 将十六进制转换为十进制

import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner s = new Scanner(System.in); while (s.hasNext()){ int a = Integer.parseInt(s.next(),16); int b = Integer.parseInt(s.ne

2021-11-20 22:01:11 87

原创 杭电OJ 三角形 2039 java

import java.util.Scanner; public class Text { public static void main(String[] args) { Scanner s = new Scanner(System.in); int m = s.nextInt(); for(int i = 0;i<m;i++){ double a = s.nextDouble(); doubl

2021-11-19 12:51:40 204

原创 杭电OJ多项式求和java 2011

import java.util.Scanner; public class Text { public static void main(String[] args) { Scanner s = new Scanner(System.in); int m = s.nextInt(); double sum = 0; for(double i = 0;i<m;i++){ int n = s.nextInt

2021-11-19 12:38:28 351

原创 杭电OJ2010水仙花数java

import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); while (s.hasNextInt()) { int m = s.nextInt(); int n = s.nextInt(); if(m>n

2021-11-19 08:58:43 262

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除