結果

問題 No.83 最大マッチング
ユーザー soupesuteakasoupesuteaka
提出日時 2016-03-02 20:25:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 63 ms / 5,000 ms
コード長 308 bytes
コンパイル時間 182 ms
コンパイル使用メモリ 11,792 KB
実行使用メモリ 10,732 KB
最終ジャッジ日時 2023-10-24 19:33:31
合計ジャッジ時間 1,251 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
10,100 KB
testcase_01 AC 30 ms
10,100 KB
testcase_02 AC 30 ms
10,100 KB
testcase_03 AC 29 ms
10,100 KB
testcase_04 AC 29 ms
10,100 KB
testcase_05 AC 29 ms
10,100 KB
testcase_06 AC 29 ms
10,100 KB
testcase_07 AC 29 ms
10,100 KB
testcase_08 AC 29 ms
10,100 KB
testcase_09 AC 34 ms
10,532 KB
testcase_10 AC 54 ms
10,732 KB
testcase_11 AC 63 ms
10,732 KB
testcase_12 AC 63 ms
10,732 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding: UTF-8

import sys
import re
import itertools
from math import sqrt
from collections import deque

### defs ###


### main ###
N = int(sys.stdin.readline())
if (N%2==0):
	for _ in range(N//2):
		print(1,end='')
	print('')
else:
	print(7,end='')
	for _ in range(N//2 - 1):
		print(1,end='')
	print('')
0