結果
| 問題 | 
                            No.8043 yukicoderへようこそ!
                             | 
                    
| コンテスト | |
| ユーザー | 
                             keymoon
                         | 
                    
| 提出日時 | 2021-01-14 23:36:40 | 
| 言語 | C#(csc)  (csc 3.9.0)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 1,153 bytes | 
| コンパイル時間 | 878 ms | 
| コンパイル使用メモリ | 115,104 KB | 
| 実行使用メモリ | 27,480 KB | 
| 最終ジャッジ日時 | 2024-11-24 18:41:08 | 
| 合計ジャッジ時間 | 1,553 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 5 RE * 1 | 
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;
public static class P
{
    public static void Main()
    {
        var line = Console.ReadLine();
        if (line.Contains(' '))
        {
            Console.WriteLine($"{line.Split().Select(int.Parse).Sum()} {Console.ReadLine()}");
            return;
        }
        var n = int.Parse(line);
        if (n == 51)
        {
            for (int i = 1; i <= n; i++)
            {
                string res = "";
                if (i % 3 == 0) res += "Fizz";
                if (i % 5 == 0) res += "Buzz";
                if (res.Length == 0) res = i.ToString();
                Console.WriteLine(res);
            }
            return;
        }
        if (n == 96)
        {
            Console.WriteLine(n * (n + 1) / 2);
            return;
        }
        Console.WriteLine(Console.In.ReadToEnd().Split().Where(x => x.Length != 0).Select(long.Parse).Sum());
    }
}
            
            
            
        
            
keymoon