結果

問題 No.83 最大マッチング
ユーザー ks23581321ks23581321
提出日時 2016-02-16 03:17:19
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 143 bytes
コンパイル時間 62 ms
コンパイル使用メモリ 7,116 KB
実行使用メモリ 6,456 KB
最終ジャッジ日時 2023-10-22 05:57:20
合計ジャッジ時間 936 ms
ジャッジサーバーID
(参考情報)
judge10 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,456 KB
testcase_01 AC 11 ms
6,456 KB
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(raw_input())
a=1
if n==2: a=1
elif n==3: a=7
elif n%2==0:
 a = int(a.rjust(n/2-1, '1'))
else:
 a = int(a.rjust((n-1)/2-1,'1'))
print a
0