結果
| 問題 | No.207 世界のなんとか |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-03-09 14:09:48 |
| 言語 | C(gnu17) (gcc 15.2.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 205 bytes |
| 記録 | |
| コンパイル時間 | 119 ms |
| コンパイル使用メモリ | 38,116 KB |
| 最終ジャッジ日時 | 2026-02-22 08:55:51 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 WA * 17 |
ソースコード
#include <stdio.h>
int main(void) {
int a, b;
scanf("%d%d", &a, &b);
for(int i=1;i<=b-a+1;i++){
if(a%3==0||a/3==3||a%3==3){
printf("%d\n", a);
}
a=a+i;
}
return 0;
}