結果

問題 No.35 タイパー高橋
ユーザー jjjj
提出日時 2016-07-30 16:39:13
言語 Fortran
(gFortran 13.2.0)
結果
WA  
実行時間 -
コード長 368 bytes
コンパイル時間 268 ms
コンパイル使用メモリ 32,384 KB
実行使用メモリ 6,940 KB
最終ジャッジ日時 2024-04-24 13:11:01
合計ジャッジ時間 653 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

  TYPE game
     integer::time
     character::str*100
  end type game
  type(game),allocatable::games(:)
  integer::miss = 0,total = 0
  read *, N
  allocate(games(N))
  read *, games

  do i=1,N
     total = total + LEN_TRIM(games(i)%str)
     miss = miss + (LEN_TRIM(games(i)%str)-games(i)%time*12/1000)
  end do
  print '(i0," ",i0)', total-miss, miss
end program
0