結果
問題 |
No.207 世界のなんとか
|
ユーザー |
|
提出日時 | 2020-02-25 06:00:15 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 345 bytes |
コンパイル時間 | 177 ms |
コンパイル使用メモリ | 28,160 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-13 06:38:01 |
合計ジャッジ時間 | 832 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 WA * 13 |
ソースコード
#include <stdio.h> #include <string.h> int main(){ int a, b; scanf("%d %d", &a, &b); for(int i = a; i <= b; i++) { if(!i%3) { printf("%d\n", i); continue; } char str[16]={0}; sprintf(str, "%d", i); if(strstr(str, "3")) { printf("%d\n", i); } } }