結果
問題 |
No.207 世界のなんとか
|
ユーザー |
![]() |
提出日時 | 2018-09-16 20:36:50 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 266 bytes |
コンパイル時間 | 115 ms |
コンパイル使用メモリ | 29,056 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-18 07:30:51 |
合計ジャッジ時間 | 690 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 WA * 15 |
ソースコード
#include <stdio.h> int main(void){ int a,b,i,n; scanf("%d%d",&a,&b); for(i=a;i<=b;i++){ if(i%3==0){ printf("%d\n",i); } else{ while (n>0){ if (n % 10 == 3) { printf("%d\n", i); break; } n /= 10; } } } }