結果

問題 No.661 ハローキティはりんご3個分
ユーザー ShizukuShizuku
提出日時 2020-03-10 16:54:14
言語 Fortran
(gFortran 13.2.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 276 bytes
コンパイル時間 545 ms
コンパイル使用メモリ 31,616 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-04-27 18:42:15
合計ジャッジ時間 963 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

program t
implicit none
integer::i,N
integer::j
read*,i
do j=1,i
  read*,N
  if(mod(N,40)==0)then
    print"(A)","ikisugi"
  else if(mod(N,8)==0)then
    print"(A)","iki"
  else if(mod(N,10)==0)then
    print"(A)","sugi"
  else
    print"(i0)",N/3
  endif
end do
end program t
0