Submission #201503
Source Code Expand
using System; using System.Collections.Generic; using System.Linq; using System.Text; partial class Program { void Calc() { var sc = new Scanner(); var time = TimeSpan.FromSeconds(sc.NextInt()); Console.WriteLine("{0:D2}:{1:D2}:{2:D2}", time.Hours, time.Minutes, time.Seconds); } } partial class Program { static void Main() { new Program().Calc(); } } class Scanner { string[] s; int i; char[] cs = new char[] { ' ' }; public Scanner() { s = new string[0]; i = 0; } public string Next() { if (i < s.Length) return s[i++]; s = Console.ReadLine().Split(cs, StringSplitOptions.RemoveEmptyEntries); i = 0; return s[i++]; } 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 | A - スワップ |
User | tnkt37 |
Language | C# (Mono 2.10.8.1) |
Score | 0 |
Code Size | 966 Byte |
Status | WA |
Exec Time | 151 ms |
Memory | 7812 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 0 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | test_13_69.txt, test_16_44.txt, test_40_40.txt, test_49_31.txt, test_51_74.txt, test_83_60.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01.txt | WA | 151 ms | 7800 KB |
sample_02.txt | WA | 142 ms | 7812 KB |
test_13_69.txt | WA | 140 ms | 7740 KB |
test_16_44.txt | WA | 142 ms | 7752 KB |
test_40_40.txt | WA | 144 ms | 7752 KB |
test_49_31.txt | WA | 138 ms | 7752 KB |
test_51_74.txt | WA | 139 ms | 7752 KB |
test_83_60.txt | WA | 138 ms | 7776 KB |