結果
| 問題 | No.3157 Nabeatsu |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-05-23 20:00:11 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 149 bytes |
| 記録 | |
| コンパイル時間 | 282 ms |
| コンパイル使用メモリ | 21,536 KB |
| 実行使用メモリ | 15,868 KB |
| 最終ジャッジ日時 | 2026-07-10 23:50:41 |
| 合計ジャッジ時間 | 5,753 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 TLE * 1 -- * 34 |
ソースコード
N = int(input())
for i in range(N, 0, -1):
if str(i).count("3") > 0:
continue
if i % 3 == 0:
continue
print(i)
break