Submission #3416988
Source Code Expand
using System; using System.Collections.Generic; using System.Linq; using System.Text; class Program { static void Main(string[] args) { // 入力 string[] sS = Console.ReadLine().Trim().Split(' '); System.Diagnostics.Stopwatch sw = new System.Diagnostics.Stopwatch(); sw.Start(); // 解析 string sOut = "No"; if (sS[0][0] == sS[0][1] && sS[0][0] == sS[0][2]) { sOut = "Yes"; } if (sS[0][1] == sS[0][2] && sS[0][1] == sS[0][3]) { sOut = "Yes"; } // 出力 Console.WriteLine("{0}", sOut.ToString().Trim()); sw.Stop(); #if DEBUG Console.WriteLine(); Console.WriteLine("{0}", sw.Elapsed.ToString()); Console.WriteLine("続行するには何かキーを押してください..."); Console.ReadKey(); #endif } }
Submission Info
Submission Time | |
---|---|
Task | A - Good Integer |
User | starlightsheep |
Language | C# (Mono 4.6.2.0) |
Score | 100 |
Code Size | 940 Byte |
Status | AC |
Exec Time | 21 ms |
Memory | 13268 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample_01.txt, sample_02.txt, sample_03.txt |
All | 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, 09.txt, 10.txt, 11.txt, sample_01.txt, sample_02.txt, sample_03.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01.txt | AC | 21 ms | 11220 KB |
02.txt | AC | 21 ms | 13268 KB |
03.txt | AC | 20 ms | 11220 KB |
04.txt | AC | 20 ms | 11220 KB |
05.txt | AC | 21 ms | 13268 KB |
06.txt | AC | 20 ms | 11220 KB |
07.txt | AC | 20 ms | 9172 KB |
08.txt | AC | 21 ms | 13268 KB |
09.txt | AC | 20 ms | 9172 KB |
10.txt | AC | 21 ms | 11220 KB |
11.txt | AC | 20 ms | 9172 KB |
sample_01.txt | AC | 21 ms | 11220 KB |
sample_02.txt | AC | 21 ms | 11220 KB |
sample_03.txt | AC | 20 ms | 9172 KB |