結果
問題 | No.83 最大マッチング |
ユーザー |
![]() |
提出日時 | 2020-07-17 14:08:34 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 272 ms / 5,000 ms |
コード長 | 429 bytes |
コンパイル時間 | 3,547 ms |
コンパイル使用メモリ | 80,144 KB |
実行使用メモリ | 54,476 KB |
最終ジャッジ日時 | 2024-11-28 09:19:31 |
合計ジャッジ時間 | 5,872 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
package workspace.gomi;import java.io.*;public class temp{public static void main(String[] args) throws IOException{BufferedReader br=new BufferedReader(new InputStreamReader(System.in));int n=Integer.parseInt(br.readLine());String s="";if(n%2==1){n-=3;s="7";}n/=2;for(int i=0;i<n;i++) s=s+"1";System.out.println(s);}}