結果
| 問題 |
No.1686 Geschenkt
|
| コンテスト | |
| ユーザー |
takytank
|
| 提出日時 | 2021-09-26 02:18:19 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 1,356 bytes |
| コンパイル時間 | 1,924 ms |
| コンパイル使用メモリ | 109,440 KB |
| 実行使用メモリ | 14,848 KB |
| 最終ジャッジ日時 | 2024-07-05 15:34:04 |
| 合計ジャッジ時間 | 1,612 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 7 |
コンパイルメッセージ
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.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
namespace AtCoder
{
class Program
{
static void Main()
{
}
delegate T Version2<T>(T arg); // C# 2 Generics
void Version3() { Version2<int> f = n => n; } // C# 3 Lambda
interface IVersion4<out T> { } // C# 4 covariance
async void Version5() { } // C# 5 async/await
string Version6() { return nameof(Version6); } // C# 6 nameof
bool Version7() { return int.TryParse("3", out _); } // C# 7 discard
(int a, int b) Version7_ValueTupe() { return (1, 2); } // C# 7 ValueTuple
bool Version7_1() { return default; } // C# 7.1 default
int Version7_2() { return 0x_1; } // C# 7.2 leading digit separator
void Version7_3<T>() where T : unmanaged { } // C# 7.3 unmanaged generics
BigInteger SystemNumerics(BigInteger a, BigInteger b) { return a + b; } // System.Numerics.BigInteger
int Version8() { return true switch { true => 1, false => 0 }; } // C# 8 switch expression
Span<int> Span(int[] array) { return array.AsSpan(); } // System.Span
object Version9() { return new(); } // C# 9 target-typed new
}
}
takytank