結果
問題 | No.2535 多重同値 |
ユーザー |
|
提出日時 | 2023-11-10 22:47:42 |
言語 | Fortran (gFortran 14.2.0) |
結果 |
AC
|
実行時間 | 59 ms / 2,000 ms |
コード長 | 474 bytes |
コンパイル時間 | 1,414 ms |
コンパイル使用メモリ | 31,104 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-26 02:01:13 |
合計ジャッジ時間 | 2,165 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
program yukicoder_2535use, intrinsic :: iso_fortran_envimplicit noneinteger(int32) :: nlogical :: bcharacter(len=3) :: p_strinteger(int32) :: iread(input_unit, *) nb = .true.do i = 1, nread(input_unit, *) p_strselect case(trim(p_str))case("Yes")b = b .eqv. .true.case("No")b = b .eqv. .false.end selectwrite(output_unit, '(a)') trim(merge("Yes", "No ", b))end doend program yukicoder_2535