結果
問題 | No.207 世界のなんとか |
ユーザー |
|
提出日時 | 2021-10-28 21:00:36 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 32 ms / 5,000 ms |
コード長 | 419 bytes |
コンパイル時間 | 286 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-07 08:07:33 |
合計ジャッジ時間 | 1,526 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 19 |
ソースコード
import mathdef main():A, B = map(int, input().split(' '))while A <= B:if A % 3 == 0:print(A)else:c = math.log10(B)c = math.floor(c)for num in range(c + 1):d = A // (10 ** num)if d % 10 == 3:print(A)breakA = A + 1if __name__ == '__main__':main()