結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
Drakkon
|
| 提出日時 | 2018-02-05 01:28:57 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 412 bytes |
| コンパイル時間 | 837 ms |
| コンパイル使用メモリ | 28,416 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-04 03:08:25 |
| 合計ジャッジ時間 | 863 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 WA * 13 |
ソースコード
#include <stdio.h>
int main(void){
int A, B, t;
scanf("%d%d", &A, &B);
while(A != B){
t = A;
if(A % 3 == 0){
printf("%d\n", A);
}
else{
while(t != 0){
if(t % 10 == 3){
printf("%d\n", A);
}
t /= 10;
}
}
A++;
}
return 0;
}
Drakkon