Submission #807959
Source Code Expand
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; public class Don { public Don() { } private Reader r = new Reader(); public void Solve() { var N = r.nextLong(); Console.WriteLine((N - 1) * 3); } public static void Main(string[] args) { new Don().Solve(); } } class Reader { string[] s; int i; char[] cs = new char[] { ' ' }; public Reader() { s = new string[0]; i = 0; } public string next() { if (i < s.Length) return s[i++]; var input = Console.ReadLine(); while (input == "") input = Console.ReadLine(); s = input.Split(cs, StringSplitOptions.RemoveEmptyEntries); i = 0; return next(); } public int nextInt() { return int.Parse(next()); } public long nextLong() { return long.Parse(next()); } public double nextDouble() { return double.Parse(next()); } }
Submission Info
Submission Time | |
---|---|
Task | B - Mysterious Light |
User | oyakodon |
Language | C# (Mono 4.6.2.0) |
Score | 0 |
Code Size | 1153 Byte |
Status | WA |
Exec Time | 33 ms |
Memory | 2648 KB |
Judge Result
Set Name | Sample | Subtask | All | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 300 | 0 / 200 | ||||||||||
Status |
|
|
|
Set Name | Test Cases |
---|---|
Sample | sample-01.txt |
Subtask | sample-01.txt, 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt, 01-09.txt |
All | sample-01.txt, 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt, 01-09.txt, 02-01.txt, 02-02.txt, 02-03.txt, 02-04.txt, 02-05.txt, 02-06.txt, 02-07.txt, 02-08.txt, 02-09.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01-01.txt | AC | 32 ms | 2648 KB |
01-02.txt | AC | 32 ms | 2648 KB |
01-03.txt | AC | 33 ms | 2648 KB |
01-04.txt | WA | 32 ms | 2648 KB |
01-05.txt | WA | 32 ms | 2648 KB |
01-06.txt | AC | 32 ms | 2648 KB |
01-07.txt | AC | 32 ms | 2648 KB |
01-08.txt | WA | 30 ms | 2648 KB |
01-09.txt | WA | 30 ms | 2648 KB |
02-01.txt | AC | 32 ms | 2648 KB |
02-02.txt | AC | 31 ms | 2648 KB |
02-03.txt | WA | 33 ms | 2648 KB |
02-04.txt | WA | 31 ms | 2648 KB |
02-05.txt | WA | 31 ms | 2648 KB |
02-06.txt | AC | 32 ms | 2648 KB |
02-07.txt | WA | 32 ms | 2648 KB |
02-08.txt | WA | 33 ms | 2648 KB |
02-09.txt | AC | 32 ms | 2648 KB |
sample-01.txt | AC | 32 ms | 2648 KB |