結果
| 問題 | No.83 最大マッチング |
| コンテスト | |
| ユーザー |
kou6839
|
| 提出日時 | 2014-12-03 12:24:26 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
AC
|
| 実行時間 | 75 ms / 5,000 ms |
| + 997µs | |
| コード長 | 506 bytes |
| 記録 | |
| コンパイル時間 | 1,260 ms |
| コンパイル使用メモリ | 84,000 KB |
| 実行使用メモリ | 43,812 KB |
| 最終ジャッジ日時 | 2026-07-25 12:54:34 |
| 合計ジャッジ時間 | 3,093 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
import java.math.BigInteger;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int iti = n/2-1;
int mae = n%2;
StringBuffer bu = new StringBuffer();
for(int i=0;i<iti;i++){
bu.append(1);
}
if(mae==0){
bu.insert(0, 1);
}else{
bu.insert(0, 7);
}
System.out.println(bu);
}
}
kou6839