結果
問題 |
No.441 和か積
|
ユーザー |
|
提出日時 | 2016-12-09 09:20:40 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 487 bytes |
コンパイル時間 | 2,207 ms |
コンパイル使用メモリ | 111,240 KB |
実行使用メモリ | 26,980 KB |
最終ジャッジ日時 | 2024-11-28 16:14:19 |
合計ジャッジ時間 | 3,403 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 28 WA * 2 |
コンパイルメッセージ
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.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Calc { class Program { static void Main() { var InputData = Console.ReadLine().Split(' ').ToList(); if (InputData.Where(value => value == "0" || value == "1").Count() > 0) { Console.WriteLine("S"); return; } if(InputData[0] == InputData[1]) { Console.WriteLine("E"); return; } Console.WriteLine("P"); } } }