結果

問題 No.207 世界のなんとか
ユーザー kazuki232kazuki232
提出日時 2017-02-04 00:15:34
言語 C90
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 315 bytes
コンパイル時間 182 ms
コンパイル使用メモリ 24,440 KB
実行使用メモリ 4,504 KB
最終ジャッジ日時 2023-08-25 19:58:58
合計ジャッジ時間 1,019 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 0 ms
4,376 KB
testcase_01 WA -
testcase_02 AC 1 ms
4,380 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 1 ms
4,380 KB
testcase_06 AC 1 ms
4,380 KB
testcase_07 WA -
testcase_08 AC 1 ms
4,376 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 1 ms
4,376 KB
testcase_17 AC 1 ms
4,376 KB
testcase_18 AC 0 ms
4,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
int main(){
int i[5];
for(i[0] = 1; i[0] <= 2; i[0]++) {
scanf("%d",&i[i[0]]);
}
for(i[0] = i[1]; i[0] <= i[2]; i[0]++) {
i[3]=0;i[5]=1;
for(i[4] = 0; i[4] <= 11; i[4]++) {
if((i[0]/i[5])%10>0&&((i[0]/i[5])%10)%3==0){i[3]++;}
i[5]*=10;
}
if(i[3]>0||i[0]%3==0){printf("%d\n",i[0]);}
}
	return 0;
}
0