2050竞赛题(一)

没有参加比赛,赛后自己练习的,没有经过系统提交所以可能无法运行成功,所以纯属菜鸡练习,有问题随便提!

2050竞赛题(一)_第1张图片


import java.util.Scanner;

class test205001 {
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int k=sc.nextInt();
		for(int i=0;i

你可能感兴趣的:(java,算法)