結果
| 問題 | No.2836 Comment Out |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-11-01 01:52:11 |
| 言語 | Fortran (gFortran 16.1.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 25 ms / 2,000 ms |
| + 414µs | |
| コード長 | 554 bytes |
| 記録 | |
| コンパイル時間 | 549 ms |
| コンパイル使用メモリ | 40,320 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-09-19 08:03:54 |
| 合計ジャッジ時間 | 5,647 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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