結果
| 問題 | No.207 世界のなんとか |
| コンテスト | |
| ユーザー |
UK_kkbj
|
| 提出日時 | 2017-06-16 17:52:00 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
OLE
|
| 実行時間 | - |
| コード長 | 454 bytes |
| コンパイル時間 | 167 ms |
| コンパイル使用メモリ | 29,568 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-10-01 06:48:24 |
| 合計ジャッジ時間 | 38,555 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 OLE * 7 -- * 11 |
ソースコード
#include <stdio.h>
#include <math.h>
int main(void){
int a, b;
scanf("%d%d", &a, &b);
while(a <= b){
if(a % 3 == 0){
printf("%d\n",a);
}
else {
int temp;
temp = a;
while(temp > 0){
if(temp % 10 == 3){
printf("%d\n",a);
}
else temp /= 10;
}
}
NO: a++;}
return 0;
}
UK_kkbj