結果
| 問題 |
No.2850 Make Slimes
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-09-02 15:24:02 |
| 言語 | Fortran (gFortran 14.2.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 317 bytes |
| コンパイル時間 | 1,827 ms |
| コンパイル使用メモリ | 30,208 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-02 15:24:05 |
| 合計ジャッジ時間 | 1,162 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 |
ソースコード
program hi
use, intrinsic :: iso_fortran_env
implicit none
integer(int32) :: a, b, c, d
read(input_unit, *) a, b, c, d
if (a == 0) then
write(output_unit, '(i0)') d / b
else if (b == 0) then
write(output_unit, '(i0)') c / a
else
write(output_unit, '(i0)') min(c / a, d / b)
end if
end program