結果
| 問題 |
No.2836 Comment Out
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-11-01 01:52:11 |
| 言語 | Fortran (gFortran 14.2.0) |
| 結果 |
AC
|
| 実行時間 | 47 ms / 2,000 ms |
| コード長 | 554 bytes |
| コンパイル時間 | 1,967 ms |
| コンパイル使用メモリ | 31,744 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-01 01:52:18 |
| 合計ジャッジ時間 | 5,830 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 52 |
ソースコード
!> This file was processed by `fypp`.
!> Today's fortune: "Bad WA", really OK?
!> ランダムウォーク猿「'乱択' で はっぴー.」
!> ギャンブラー猿「流れが来てる...!」
program f902836
use, intrinsic :: iso_fortran_env
!> auto use module
implicit none
integer(int32) :: n
integer(int64), allocatable :: arr(:)
integer(int32) :: i
read(input_unit, *) n
allocate(arr(n))
read(input_unit, *) arr(:)
write(output_unit, '(a)') trim(merge("Yes", "No ", any(arr(:) == 0) .or. any(arr(:) == 1)))
end program f902836