結果
問題 | No.207 世界のなんとか |
ユーザー |
|
提出日時 | 2023-09-25 14:24:03 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 330 bytes |
コンパイル時間 | 1,342 ms |
コンパイル使用メモリ | 63,700 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-18 11:19:42 |
合計ジャッジ時間 | 1,302 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 19 |
ソースコード
#include <iostream>using namespace std;int main(void){//inputint min,max;cin >> min >> max;//calc,outputfor(int i=min;i<=max;i++){bool isThree = false;//3の倍数if(i % 3 == 0) isThree = true;//3のつく数for(int t=i;t;t/=10){if(t%10 == 3) isThree = true;}if(isThree) cout << i << endl;}}