結果

問題 No.661 ハローキティはりんご3個分
ユーザー 37zigen37zigen
提出日時 2018-03-09 23:33:50
言語 Fortran
(gFortran 13.2.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 473 bytes
コンパイル時間 1,606 ms
コンパイル使用メモリ 32,000 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-04-19 03:33:05
合計ジャッジ時間 2,041 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
5,248 KB
testcase_01 AC 1 ms
5,376 KB
testcase_02 AC 1 ms
5,376 KB
testcase_03 AC 1 ms
5,376 KB
testcase_04 AC 2 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),40)==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