結果

問題 No.661 ハローキティはりんご3個分
ユーザー 37zigen37zigen
提出日時 2018-03-09 23:19:27
言語 Fortran
(gFortran 13.2.0)
結果
WA  
実行時間 -
コード長 473 bytes
コンパイル時間 673 ms
コンパイル使用メモリ 32,384 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-04-19 02:43:30
合計ジャッジ時間 913 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
5,248 KB
testcase_01 WA -
testcase_02 AC 1 ms
5,376 KB
testcase_03 AC 1 ms
5,376 KB
testcase_04 AC 1 ms
5,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

program main
      implicit none
      Integer::i,j,k,n,m
      Integer(KIND=16)::arr(0:4)
      read*,n
      do i=0,n-1
            read*,arr(i)
            if(MOD(arr(i),80)==0)then
                  print'("ikisugi")'
            else if(MOD(arr(i),8)==0)then
                  print'("iki")'
            else if(MOD(arr(i),10)==0)then
                  print'("sugi")'
            else
                  print*,arr(i)/3
            end if
      end do
end program main
0