結果

問題 No.418 ミンミンゼミ
ユーザー fuzuirfuzuir
提出日時 2016-10-11 23:21:24
言語 F#
(F# 4.0)
結果
AC  
実行時間 58 ms / 1,000 ms
コード長 205 bytes
コンパイル時間 5,518 ms
コンパイル使用メモリ 166,304 KB
実行使用メモリ 23,716 KB
最終ジャッジ日時 2023-09-23 01:28:39
合計ジャッジ時間 8,122 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
23,640 KB
testcase_01 AC 54 ms
21,440 KB
testcase_02 AC 55 ms
19,464 KB
testcase_03 AC 55 ms
21,652 KB
testcase_04 AC 55 ms
23,716 KB
testcase_05 AC 55 ms
21,600 KB
testcase_06 AC 55 ms
21,664 KB
testcase_07 AC 55 ms
21,560 KB
testcase_08 AC 56 ms
23,544 KB
testcase_09 AC 55 ms
21,492 KB
testcase_10 AC 55 ms
23,644 KB
testcase_11 AC 55 ms
23,608 KB
testcase_12 AC 56 ms
23,660 KB
testcase_13 AC 54 ms
19,692 KB
testcase_14 AC 55 ms
21,568 KB
testcase_15 AC 55 ms
23,576 KB
testcase_16 AC 56 ms
19,616 KB
testcase_17 AC 55 ms
23,516 KB
testcase_18 AC 55 ms
23,652 KB
testcase_19 AC 58 ms
21,660 KB
testcase_20 AC 55 ms
23,608 KB
testcase_21 AC 55 ms
21,484 KB
testcase_22 AC 55 ms
21,508 KB
testcase_23 AC 55 ms
21,488 KB
testcase_24 AC 56 ms
21,628 KB
testcase_25 AC 56 ms
23,700 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

open System;
 
let dprintfn fmt = Printf.kprintf Diagnostics.Debug.WriteLine fmt
 
[<EntryPoint>]
let main argv = 
    let a = Console.ReadLine().Trim().Split('n').Length
    Console.WriteLine(a - 1)
    0
0