結果

問題 No.64 XORフィボナッチ数列
ユーザー しらゆき
提出日時 2015-11-19 13:45:19
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 315 bytes
コンパイル時間 808 ms
コンパイル使用メモリ 108,784 KB
実行使用メモリ 27,284 KB
最終ジャッジ日時 2024-09-13 17:01:34
合計ジャッジ時間 1,843 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other WA * 11
権限があれば一括ダウンロードができます
コンパイルメッセージ
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 Program
{
    static void Main()
    {
        long[] l = Console.ReadLine().Split().Select(long.Parse).ToArray();
        long n = l[2];

        int ans = 88;

        if (n % 3 == 1) ans = 79;
        else if (n % 3 == 2) ans = 23;

        Console.WriteLine(ans);
    }
}
0