結果

問題 No.531 エヌスクミ島の平和協定
ユーザー pirorirori_n712pirorirori_n712
提出日時 2018-08-23 00:58:49
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 286 bytes
コンパイル時間 4,616 ms
コンパイル使用メモリ 100,740 KB
実行使用メモリ 25,888 KB
最終ジャッジ日時 2023-08-26 21:20:54
合計ジャッジ時間 7,553 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
21,892 KB
testcase_01 AC 54 ms
21,892 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 51 ms
21,764 KB
testcase_05 WA -
testcase_06 AC 52 ms
15,792 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 51 ms
15,868 KB
testcase_10 AC 50 ms
15,856 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 51 ms
15,904 KB
testcase_14 AC 53 ms
15,804 KB
testcase_15 AC 53 ms
15,932 KB
testcase_16 AC 50 ms
15,812 KB
testcase_17 AC 52 ms
15,804 KB
testcase_18 AC 52 ms
15,756 KB
testcase_19 AC 50 ms
15,804 KB
testcase_20 AC 53 ms
15,796 KB
testcase_21 AC 53 ms
15,748 KB
testcase_22 AC 51 ms
15,812 KB
testcase_23 AC 50 ms
15,748 KB
testcase_24 AC 51 ms
15,920 KB
testcase_25 AC 52 ms
15,824 KB
testcase_26 AC 50 ms
15,808 KB
testcase_27 AC 52 ms
15,796 KB
testcase_28 AC 56 ms
15,816 KB
testcase_29 AC 57 ms
15,864 KB
testcase_30 AC 56 ms
15,740 KB
testcase_31 AC 52 ms
15,856 KB
testcase_32 AC 53 ms
15,728 KB
testcase_33 AC 51 ms
15,924 KB
testcase_34 AC 52 ms
15,852 KB
testcase_35 AC 61 ms
15,740 KB
testcase_36 AC 50 ms
15,728 KB
testcase_37 AC 51 ms
15,828 KB
testcase_38 AC 53 ms
15,812 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Linq;

class No531{
    static void Main(){
        var num=Console.ReadLine().Split(' ').Select(x=>Int32.Parse(x)).ToArray();
        var ans=-1;
        if(num[0]==num[1])ans=1;
        else if(num[0]/num[1]==2)ans=2;
        Console.WriteLine(ans);
    }
}
0