結果

問題 No.9005 実行時間/使用メモリテスト(テスト用)
ユーザー kuuso1kuuso1
提出日時 2016-08-27 17:06:14
言語 F#
(F# 4.0)
結果
AC  
実行時間 65 ms / 3,000 ms
コード長 375 bytes
コンパイル時間 6,638 ms
コンパイル使用メモリ 188,924 KB
実行使用メモリ 30,336 KB
最終ジャッジ日時 2024-04-26 06:30:43
合計ジャッジ時間 7,576 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
30,336 KB
testcase_01 AC 65 ms
29,952 KB
testcase_02 AC 63 ms
30,200 KB
testcase_03 AC 64 ms
30,080 KB
testcase_04 AC 64 ms
30,064 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (224 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/

ソースコード

diff #

open System

let ri () = stdin.ReadLine() |> int
let ria () = stdin.ReadLine().Split() |> Array.map int

type Sol() =
    member this.Solve() = 
        
        let N = ri ()
        let rec gcd a b = if a = 0 then b else gcd (b%a) a
        let x = 1234
        let y = 4567
        let z = gcd x y
        printfn "0"
        
        
let mySol = new Sol()
mySol.Solve()
0