結果
| 問題 | No.83 最大マッチング |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-08-25 08:43:55 |
| 言語 | JavaScript (node v26.7.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 42 ms / 5,000 ms |
| + 513µs | |
| コード長 | 243 bytes |
| 記録 | |
| コンパイル時間 | 3 ms |
| コンパイル使用メモリ | 9,820 KB |
| 実行使用メモリ | 60,928 KB |
| 最終ジャッジ日時 | 2026-09-15 06:51:05 |
| 合計ジャッジ時間 | 1,786 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
function Main(input) {
const N = parseInt(input.trim())
let result = (N % 2 === 1) ? "7" : "1"
for (let i = 0; i < ~~(N / 2) - 1; i++) {
result += "1"
}
console.log(result)
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"))