結果

問題 No.83 最大マッチング
ユーザー fal_rndfal_rnd
提出日時 2017-09-29 23:55:06
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 576 bytes
コンパイル時間 2,450 ms
コンパイル使用メモリ 79,016 KB
実行使用メモリ 64,048 KB
最終ジャッジ日時 2024-04-27 16:24:16
合計ジャッジ時間 5,622 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 110 ms
53,748 KB
testcase_01 AC 112 ms
53,972 KB
testcase_02 AC 113 ms
54,012 KB
testcase_03 WA -
testcase_04 AC 116 ms
53,932 KB
testcase_05 WA -
testcase_06 AC 120 ms
54,060 KB
testcase_07 WA -
testcase_08 AC 111 ms
53,820 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 378 ms
64,048 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
import java.util.stream.IntStream;

public class Main{
	static IntStream REPS(int v){return IntStream.range(0,v);}
	static IntStream REPS(int l,int r){return IntStream.rangeClosed(l,r);}
	static IntStream INS(int n){return REPS(n).map(i->getInt());}
	static Scanner s=new Scanner(System.in);
	static int getInt(){return Integer.parseInt(s.next());}
	static long getLong(){return Long.parseLong(s.next());}

	public static void main(String[]$){
		int n=getInt();
		while(n>=2) {
			System.out.print(n==3?7:1);
			n-=2;
		}
		System.out.println();
	}
}
0