結果

問題 No.207 世界のなんとか
ユーザー pajannatpajannat
提出日時 2021-04-04 12:50:05
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 308 bytes
コンパイル時間 374 ms
コンパイル使用メモリ 87,268 KB
実行使用メモリ 71,532 KB
最終ジャッジ日時 2023-08-27 12:19:50
合計ジャッジ時間 2,726 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 74 ms
70,996 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 74 ms
71,168 KB
testcase_07 AC 75 ms
71,248 KB
testcase_08 AC 76 ms
71,184 KB
testcase_09 AC 75 ms
71,276 KB
testcase_10 AC 73 ms
71,116 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 75 ms
70,964 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 74 ms
71,188 KB
testcase_17 AC 73 ms
71,168 KB
testcase_18 AC 75 ms
71,108 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = map(int, input().split())
for i in range(A, B+1):
	if (i % 3) == 0:
		print(i)
	elif (i // 10**9) == 3 or (i // 10**8) == 3 or (i // 10**7) == 3 or (i // 10**6) == 3 or (i // 10**5) == 3 or (i // 10**4) == 3 or (i // 10**3) == 3 or (i // 10**2) == 3 or (i // 10) == 3 or (i % 10) == 3:
		print(i)
0