結果

問題 No.207 世界のなんとか
ユーザー pajannatpajannat
提出日時 2021-04-04 13:27:31
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 70 ms / 5,000 ms
コード長 195 bytes
コンパイル時間 276 ms
コンパイル使用メモリ 87,088 KB
実行使用メモリ 71,252 KB
最終ジャッジ日時 2023-08-27 14:20:55
合計ジャッジ時間 2,505 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,152 KB
testcase_01 AC 63 ms
70,980 KB
testcase_02 AC 64 ms
71,144 KB
testcase_03 AC 64 ms
71,112 KB
testcase_04 AC 70 ms
71,056 KB
testcase_05 AC 65 ms
70,904 KB
testcase_06 AC 65 ms
71,132 KB
testcase_07 AC 63 ms
71,116 KB
testcase_08 AC 63 ms
71,252 KB
testcase_09 AC 63 ms
71,128 KB
testcase_10 AC 65 ms
71,128 KB
testcase_11 AC 64 ms
71,140 KB
testcase_12 AC 65 ms
71,024 KB
testcase_13 AC 66 ms
71,024 KB
testcase_14 AC 65 ms
71,132 KB
testcase_15 AC 64 ms
71,120 KB
testcase_16 AC 62 ms
71,212 KB
testcase_17 AC 65 ms
71,148 KB
testcase_18 AC 66 ms
71,040 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = map(int, input().split())
for i in range(A, B+1):
	if (i % 3) == 0:
		print(i)
	else:
		i_str = str(i)
		for j in range(len(i_str)):
			if i_str[j] == "3":
				print(i)
				break;
0