結果
問題 |
No.207 世界のなんとか
|
ユーザー |
![]() |
提出日時 | 2018-09-16 18:23:23 |
言語 | C (gcc 13.3.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 413 bytes |
コンパイル時間 | 205 ms |
コンパイル使用メモリ | 28,928 KB |
実行使用メモリ | 8,480 KB |
最終ジャッジ日時 | 2024-07-18 07:27:28 |
合計ジャッジ時間 | 12,894 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | TLE * 1 -- * 18 |
ソースコード
#include <stdio.h> int main() { int i,j,k; scanf("%d%d",&i,&j); int spot; int kk; for(k=i;k<=j;k++){ if(k%3==0){ printf("%d\n",k); continue; } kk=k; while(k>0){ spot=k%10; if(spot==3){ printf("%d\n",kk); break; } k/=10; } } return 0; }