
JAVA
文章平均质量分 58
SY_Pistachio
低调的前行,越努力越幸运!
展开
-
java 水仙花
package first;import java.util.Scanner;public class First {public static void main(String[] args) {// TODO Auto-generated method stubnum();getshuixianhuashu();}static void原创 2017-11-05 17:11:51 · 702 阅读 · 0 评论 -
poj 2506 Tiling 大数 找规律 递推
TilingTime Limit: 1000MS Memory Limit: 65536K Total Submissions: 9225 Accepted: 4385 DescriptionIn how many ways can you tile a 2xn rectangle by 2x1 or 2x2 tiles? Here is a sa...原创 2018-04-24 20:08:54 · 381 阅读 · 0 评论 -
Reversion Count
Description:There is a positive integer X, X's reversion count is Y. For example, X=123, Y=321; X=1234, Y=4321. Z=(X-Y)/9, Judge if Z is made up of only one number(0,1,2...9), ...原创 2018-04-23 20:26:03 · 225 阅读 · 0 评论 -
大数相加 java
Problem D: Integer InquiryTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 59 Solved: 18[Submit][Status][Web Board]DescriptionOne of the first users of BIT's new supercomputer was Chip Diller. He exten...原创 2018-04-06 11:26:36 · 502 阅读 · 0 评论 -
大数 Java 幂 Exponentiation
Problem F: ExponentiationTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 9 Solved: 6[Submit][Status][Web Board]DescriptionProblems involving the computation of exact values of very large magnitude and...原创 2018-04-06 11:13:00 · 239 阅读 · 0 评论 -
大数相乘 java
Problem E: ProductTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 38 Solved: 25[Submit][Status][Web Board]DescriptionThe problem is to multiply two integers X, Y. (0<=X,Y<10250) InputThe input w...原创 2018-04-06 10:44:46 · 391 阅读 · 1 评论 -
JAVA 输入输出文件流 3.28
1.package Si;import java.io.*;public class Text { public static void main(String[] args) { // InputStream is=null; Writer fw = null; BufferedWriter w = null; String data = null; try { fw = new ...原创 2018-03-28 15:05:40 · 197 阅读 · 0 评论 -
大数加法 java A - A + B Problem II
I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B.Input The first line of the input contains an integer T(1<=T<=20) which means the...原创 2018-04-09 21:11:06 · 235 阅读 · 0 评论 -
2017青岛区域赛 (部分题解)
vjudge上 题目链接:VJH Chinese Zodiac//垃圾#include<bits/stdc++.h>using namespace std;int judge(char s[]){ if(strcmp(s,"rat")==0) return 1; else if(strcmp(s,"ox")==0) return 2; else ...原创 2018-10-15 21:09:34 · 842 阅读 · 0 评论