結果

問題 No.207 世界のなんとか
ユーザー 川端太作川端太作
提出日時 2022-12-22 16:42:55
言語 Fortran
(gFortran 13.2.0)
結果
WA  
実行時間 -
コード長 460 bytes
コンパイル時間 171 ms
コンパイル使用メモリ 31,872 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-04-29 03:45:46
合計ジャッジ時間 788 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

program T
    implicit none
    integer(8)::a,b,c,d,e(10)
    read(*,*)a,b
    do c=a,b-a+1,1
        do d=1,10,1
            e(d)=10**d
            if(mod(c,3)==0)then
                write(*,*)c
                cycle
            else if(mod(c,10)==3)then
                write(*,*)c
                cycle
            else if(int(c/e(d))==3)then
                write(*,*)c
                cycle
            end if
        end do
    end do
end program T
    
0