結果
問題 | No.83 最大マッチング |
ユーザー |
![]() |
提出日時 | 2021-09-15 05:01:43 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 355 ms / 5,000 ms |
コード長 | 453 bytes |
コンパイル時間 | 2,818 ms |
コンパイル使用メモリ | 73,500 KB |
実行使用メモリ | 48,836 KB |
最終ジャッジ日時 | 2024-06-28 01:51:29 |
合計ジャッジ時間 | 4,485 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
import java.io.*;class Test{public static void main(String[] args) throws IOException{BufferedReader br = new BufferedReader(new InputStreamReader(System.in));int mattiN;mattiN=Integer.parseInt(br.readLine());if(mattiN%2!=0){System.out.print("7");mattiN-=3;}for(;mattiN>0;mattiN-=2){System.out.print("1");}System.out.println();}}