結果
問題 | No.8032 Unavailability of Inequality Signs |
ユーザー |
![]() |
提出日時 | 2018-04-01 22:37:14 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 75 ms / 2,000 ms |
コード長 | 402 bytes |
コンパイル時間 | 13,593 ms |
コンパイル使用メモリ | 191,164 KB |
実行使用メモリ | 30,976 KB |
最終ジャッジ日時 | 2024-06-26 05:58:33 |
合計ジャッジ時間 | 15,137 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (388 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 Systemlet eq = char 61let lt = char 60let mt = char 62let read() = let t = Array.map (int) (Console.ReadLine().Split())in t.[0],t.[1]let N = int (Console.ReadLine())for i in 1..N dolet a,b = read()if compare a b = 0 thenprintfn "%c" eqelif compare a b = -1 thenprintfn "%c" ltelseprintfn "%c" mt