結果

問題 No.481 1から10
ユーザー pekempeypekempey
提出日時 2017-02-10 22:22:34
言語 F#
(F# 4.0)
結果
AC  
実行時間 81 ms / 2,000 ms
コード長 183 bytes
コンパイル時間 5,275 ms
コンパイル使用メモリ 154,464 KB
実行使用メモリ 24,936 KB
最終ジャッジ日時 2023-08-27 21:06:45
合計ジャッジ時間 6,619 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
24,868 KB
testcase_01 AC 79 ms
22,828 KB
testcase_02 AC 79 ms
24,936 KB
testcase_03 AC 80 ms
22,760 KB
testcase_04 AC 79 ms
22,864 KB
testcase_05 AC 81 ms
24,860 KB
testcase_06 AC 79 ms
24,888 KB
testcase_07 AC 78 ms
22,828 KB
testcase_08 AC 79 ms
24,876 KB
testcase_09 AC 79 ms
22,816 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

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

let mutable x = 0
let mutable y = 0

for i in 1 .. 10 do
    x <- x ^^^ i

for i in a do
    y <- y ^^^ i

x ^^^ y |> printfn "%d"

0