結果

問題 No.492 IOI数列
ユーザー 6soukiti296soukiti29
提出日時 2017-03-20 12:54:08
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 240 bytes
コンパイル時間 506 ms
コンパイル使用メモリ 87,172 KB
実行使用メモリ 80,120 KB
最終ジャッジ日時 2023-09-18 12:26:48
合計ジャッジ時間 3,119 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
75,540 KB
testcase_01 TLE -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
if N <= 5:
	s2 = "1" + "01" * (N - 1)
	print(s2)
elif N > 5:
	i = 1
	for  n in range(N - 1):
		i = i * 100 + 1
		i = i % 1000000007
	print(i)

N2 = (N % 11)

if N2 == 0:
	s2 = 0

else:
	s2 = "1" + "01" * (N2 - 1)
print(s2)
0