結果

問題 No.83 最大マッチング
ユーザー キョウチクキョウチク
提出日時 2021-09-15 04:58:37
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 327 bytes
コンパイル時間 3,706 ms
コンパイル使用メモリ 70,752 KB
実行使用メモリ 51,188 KB
最終ジャッジ日時 2023-09-10 10:23:59
合計ジャッジ時間 3,500 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

class Test{
    public static void main(String[] args){
        int mattiN;
        mattiN=Integer.parseInt(args[0]);
        if(mattiN%2!=0){
            System.out.print("7");
            mattiN-=3;
        }
        for(;mattiN>0;mattiN-=2){
            System.out.print("1");
        }
        System.out.println();
    }
}
0