結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
tmsb
|
| 提出日時 | 2018-10-20 00:04:44 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 280 bytes |
| コンパイル時間 | 314 ms |
| コンパイル使用メモリ | 28,800 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-18 23:15:40 |
| 合計ジャッジ時間 | 1,436 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 10 |
ソースコード
#include <stdio.h>
int main(void)
{
int a, b, w;
scanf("%d%d", &a, &b);
for(a; a <= b; a++){
w = a;
while(w != 0){
if(w % 3 == 0 || w % 10 == 3){
printf("%d\n", a);
w = 0;
}else{
w = (int)w / 10;
}
}
}
return 0;
}
tmsb