結果
問題 |
No.481 1から10
|
ユーザー |
![]() |
提出日時 | 2019-04-25 19:06:21 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 30 ms / 2,000 ms |
コード長 | 425 bytes |
コンパイル時間 | 2,236 ms |
コンパイル使用メモリ | 115,248 KB |
実行使用メモリ | 27,424 KB |
最終ジャッジ日時 | 2024-11-21 06:42:31 |
合計ジャッジ時間 | 3,180 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Linq; using System.Collections.Generic; namespace test20190423 { class Program { static void Main(string[] args) { var ss = Console.ReadLine().Split(new string[] { " " }, StringSplitOptions.RemoveEmptyEntries).Select(x => int.Parse(x)); Console.WriteLine(Enumerable.Range(1, 10).Except(ss).First()); Console.ReadLine(); } } }