結果
| 問題 | No.207 世界のなんとか |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-08-20 16:50:22 |
| 言語 | C (gcc 15.2.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 278 bytes |
| 記録 | |
| コンパイル時間 | 1,130 ms |
| コンパイル使用メモリ | 35,712 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-20 16:50:26 |
| 合計ジャッジ時間 | 2,868 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 10 |
ソースコード
#include <stdio.h>
int main(void)
{
long a, b;
long i, j;
scanf("%ld%ld", &a, &b);
for (i = a; i <= b; i++) {
if (!(i % 3))
printf("%ld\n", i);
else {
j = i;
do {
if (j % 10 == 3)
printf("%ld\n", i);
j /= 10;
} while (j);
}
}
return 0;
}