結果

問題 No.83 最大マッチング
ユーザー つなぎつなぎ
提出日時 2017-02-23 17:37:39
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 41 ms / 5,000 ms
コード長 154 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 10,664 KB
実行使用メモリ 8,312 KB
最終ジャッジ日時 2023-08-30 21:30:59
合計ジャッジ時間 1,197 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,824 KB
testcase_01 AC 15 ms
7,792 KB
testcase_02 AC 15 ms
7,736 KB
testcase_03 AC 15 ms
7,772 KB
testcase_04 AC 16 ms
7,904 KB
testcase_05 AC 15 ms
7,772 KB
testcase_06 AC 15 ms
7,780 KB
testcase_07 AC 15 ms
7,720 KB
testcase_08 AC 15 ms
7,872 KB
testcase_09 AC 18 ms
7,736 KB
testcase_10 AC 33 ms
8,180 KB
testcase_11 AC 40 ms
8,312 KB
testcase_12 AC 41 ms
8,124 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a=int(input())
if a%2!=0:
  print("7", end="")
  for i in range(0,(a//2)-1):
    print("1", end="")
else:
  for i in range(0,a//2):
    print("1", end="")
0