結果

問題 No.1686 Geschenkt
コンテスト
ユーザー takytank
提出日時 2021-09-26 02:13:48
言語 C#
(.NET 10.0.201)
コンパイル:
dotnet_c
実行:
/usr/bin/dotnet_wrap
結果
WA  
実行時間 -
コード長 1,464 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 14,218 ms
コンパイル使用メモリ 172,484 KB
実行使用メモリ 184,096 KB
最終ジャッジ日時 2026-03-27 00:19:24
合計ジャッジ時間 15,286 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge1_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (85 ミリ秒)。
  main -> /home/judge/data/code/bin/Release/net10.0/main.dll
  main -> /home/judge/data/code/bin/Release/net10.0/publish/

ソースコード

diff #
raw source code

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.Runtime.Intrinsics.X86;
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
		int Intrinsics(uint value) { return BitOperations.PopCount(value); }
		object Version9() { return new(); } // C# 9 target-typed new 
	}
}
0