- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 E - BerOS file system
The new operating system BerOS has a nice feature. It is possible to use any number of characters '/' as a delimiter in path instead of one traditional '/'. For example, strings //usr///local//nginx...
2018-02-14 16:43:32 238
原创 Your task is to find for a given phone number any of its divisions into groups of two or three digit
D - Phone numbers 代码:Happy-训练6-Dimport java.util.Scanner;public class Main { public static void main(String[] args){ int n,i=0,m=1; Scanner scan=new Scanner(System.in); n=scan.nextInt(); ...
2018-02-10 23:29:26 328
原创 equation : Ax2 + Bx + C = 0.
B - Equation //训练6.2-B-Equation import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args){ double A,B,C,x1,x2; int coun...
2018-02-10 15:58:08 307
原创 You're given a string of lower-case Latin letters. Your task is to find the length of its longest su
C - You're Given a String... 代码:import java.util.Arrays;import java.util.Scanner;public class Main {public static void main(String[] args){ int count=1,k=0,max=0,i=0; int[] sum=new int[100]; Sca...
2018-02-10 15:47:07 3143
原创 In how many ways can we select some of these coins so that they are X yen in total?
Problem Statement You have A 500-yen coins, B 100-yen coins and C 50-yen coins (yen is the currency of Japan). In how many ways can we select some of these coins so that they are X yen in tota
2018-02-07 13:40:43 279
原创 Determine whether the concatenation of a and b in this order is a square number.
Problem Statement AtCoDeer the deer has found two positive integers, a and b. Determine whether the concatenation of a and b in this order is a square number. Constraints 1 ≤ a,b ≤ 1
2018-02-06 19:50:35 460
原创 You went shopping to buy cakes and donuts with X yen
Problem Statement You went shopping to buy cakes and donuts with X yen (the currency of Japan). First, you bought one cake for A yen at a cake shop. Then, you bought as many donuts as possible
2018-02-06 18:33:57 333
原创 Determine whether the product of a and b is even or odd.
Problem Statement AtCoDeer the deer found two positive integers, a andb. Determine whether the product ofa andb is even or odd. Constraints 1≤a,b≤10000a andb are integers. Input Input
2018-02-06 18:01:33 549
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人