結果

問題 No.83 最大マッチング
ユーザー reon777
提出日時 2017-06-21 22:33:00
言語 Java
(openjdk 23)
結果
RE  
実行時間 -
コード長 315 bytes
コンパイル時間 5,587 ms
コンパイル使用メモリ 74,732 KB
実行使用メモリ 51,732 KB
最終ジャッジ日時 2024-10-02 11:51:00
合計ジャッジ時間 4,363 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 3
other RE * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

public class HelloWorld
{
  public static void main( String[] args )
  {
    int keta = 0;
    int i;
    for(i= Integer.parseInt(args[0]); i>3;){
      keta++;
      i = i-2;
      System.out.print("1");
    }

    if(i == 3){
      System.out.print("7");
    }
    else{
      System.out.print("1");
    }

  }
}
0