結果

問題 No.207 世界のなんとか
ユーザー 初見わこつです初見わこつです
提出日時 2015-09-12 17:09:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 437 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 10,608 KB
実行使用メモリ 7,932 KB
最終ジャッジ日時 2023-09-26 11:40:27
合計ジャッジ時間 1,325 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#!/usr/bin/python3

# This problem is http://yukicoder.me/problems/560

first_line = input()

begin_end_numbers = list(map(int, first_line.split(' ')))

"""
for i in range(begin_end_numbers[0], begin_end_numbers[1]):
    if i % 3 == 0 or '3' in str(i):
        print(i)
"""

for i in range(begin_end_numbers[0], begin_end_numbers[1]):
    if i % 3 == 0:
        print(i)
    if '3' in str(i):
        print(i)
# print(begin_end_numbers)
0