結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-18 20:08:25 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 356 bytes |
| コンパイル時間 | 123 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-11-23 13:28:35 |
| 合計ジャッジ時間 | 1,386 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 10 |
ソースコード
import math
def isThree(i):
buff = i
while buff > 1:
if math.floor(buff % 10) == 3:
return True
buff = math.floor(buff / 10)
return False
a, b = input().split(" ")
a = int(a)
b = int(b)
for i in range(a, b):
if i % 3 == 0:
print(i)
continue
elif isThree(i):
print(i)
continue