結果
| 問題 |
No.441 和か積
|
| コンテスト | |
| ユーザー |
hum_op
|
| 提出日時 | 2017-04-16 21:10:25 |
| 言語 | F# (F# 4.0) |
| 結果 |
AC
|
| 実行時間 | 70 ms / 1,000 ms |
| コード長 | 349 bytes |
| コンパイル時間 | 10,073 ms |
| コンパイル使用メモリ | 193,552 KB |
| 実行使用メモリ | 33,408 KB |
| 最終ジャッジ日時 | 2024-06-27 03:52:22 |
| 合計ジャッジ時間 | 14,130 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 30 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (292 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
open System
let No441 () =
let IN = Console.ReadLine().Split(' ')
let A = Numerics.BigInteger.Parse <| IN.[0]
let B = Numerics.BigInteger.Parse <| IN.[1]
let sum = A + B
let pro = A * B
if sum > pro then
printfn "S"
else if sum < pro then
printfn "P"
else
printfn "E"
()
No441 ()
hum_op