結果
問題 | No.207 世界のなんとか |
ユーザー |
|
提出日時 | 2022-11-12 11:38:59 |
言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 413 bytes |
コンパイル時間 | 720 ms |
コンパイル使用メモリ | 118,528 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-14 03:26:50 |
合計ジャッジ時間 | 1,469 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 19 |
ソースコード
#include <iostream>using namespace std;using LL = long long;int main() {LL A, B;cin >> A >> B;for (LL i = A; i <= B; i++) {if (i % 3 == 0) {cout << i << endl;continue;}LL j = i;while (j) {if (j % 10 == 3) {cout << i << endl;break;}j /= 10;}}}