Submission #616147
Source Code Expand
using System; using System.Collections.Generic; using System.Text; class Program { public void Proc() { long num = int.Parse(Console.ReadLine()); long tmp = 25; long mult = 2; long ans = 0; while (tmp <= num) { ans++; tmp = mult * 25; mult++; } Console.WriteLine(ans.ToString("##############################0")); } public class Reader { public static bool IsDebug = true; private static String PlainInput = @" ABAB "; private static System.IO.StringReader Sr = null; public static string ReadLine() { if (IsDebug) { if (Sr == null) { Sr = new System.IO.StringReader(PlainInput.Trim()); } return Sr.ReadLine(); } else { return Console.ReadLine(); } } } static void Main() { Program prg = new Program(); prg.Proc(); } }
Submission Info
Submission Time | |
---|---|
Task | A - ニコニコ数 |
User | mellotron |
Language | C# (Mono 3.2.1.0) |
Score | 60 |
Code Size | 1182 Byte |
Status | AC |
Exec Time | 275 ms |
Memory | 9004 KB |
Judge Result
Set Name | Sample | Subtask1 | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 60 / 60 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample_01.txt, sample_02.txt |
Subtask1 | sample_01.txt, sample_02.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt, test_07.txt, test_08.txt, test_09.txt, test_10.txt, test_11.txt, test_12.txt, test_13.txt, test_14.txt, test_15.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01.txt | AC | 109 ms | 9000 KB |
sample_02.txt | AC | 111 ms | 9000 KB |
test_01.txt | AC | 108 ms | 8988 KB |
test_02.txt | AC | 106 ms | 8988 KB |
test_03.txt | AC | 107 ms | 8988 KB |
test_04.txt | AC | 107 ms | 8940 KB |
test_05.txt | AC | 106 ms | 8940 KB |
test_06.txt | AC | 113 ms | 8972 KB |
test_07.txt | AC | 109 ms | 8980 KB |
test_08.txt | AC | 275 ms | 9000 KB |
test_09.txt | AC | 267 ms | 8996 KB |
test_10.txt | AC | 199 ms | 9004 KB |
test_11.txt | AC | 270 ms | 8968 KB |
test_12.txt | AC | 151 ms | 9004 KB |
test_13.txt | AC | 113 ms | 8988 KB |
test_14.txt | AC | 110 ms | 9000 KB |
test_15.txt | AC | 106 ms | 9000 KB |