結果
問題 |
No.3010 水色コーダーさん
|
ユーザー |
|
提出日時 | 2025-01-25 16:38:27 |
言語 | Fortran (gFortran 14.2.0) |
結果 |
AC
|
実行時間 | 106 ms / 2,000 ms |
コード長 | 642 bytes |
コンパイル時間 | 2,648 ms |
コンパイル使用メモリ | 40,576 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2025-01-25 23:54:19 |
合計ジャッジ時間 | 5,962 ms |
ジャッジサーバーID (参考情報) |
judge7 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
!> This file was processed by `fypp`. !> Today's fortune: "forever WJ...", really OK? !> ランダムウォーク猿「'メモ化再帰' で はっぴー.」 program yukicoder_3010 use, intrinsic :: iso_fortran_env !> auto use module implicit none integer(int32) :: n, m integer(int32) :: ans integer(int32) :: i read(input_unit, *) n, m ans = 0 do i = 1, n block character(len=m) :: s integer(int32) :: r read(input_unit, *) s, r if (r < 1200) cycle if (s(1:4) == "oooo") cycle ans = ans + 1 end block end do write(output_unit, '(i0)') ans end program yukicoder_3010