結果

問題 No.537 ユーザーID
ユーザー 14番14番
提出日時 2017-07-01 03:29:39
言語 C#(csc)
(csc 3.9.0)
結果
TLE  
実行時間 -
コード長 1,055 bytes
コンパイル時間 1,171 ms
コンパイル使用メモリ 113,184 KB
実行使用メモリ 33,708 KB
最終ジャッジ日時 2024-04-15 09:41:32
合計ジャッジ時間 5,751 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
33,708 KB
testcase_01 AC 32 ms
24,804 KB
testcase_02 AC 33 ms
24,552 KB
testcase_03 AC 31 ms
26,900 KB
testcase_04 AC 32 ms
24,672 KB
testcase_05 AC 30 ms
24,672 KB
testcase_06 AC 33 ms
24,676 KB
testcase_07 AC 32 ms
24,880 KB
testcase_08 AC 31 ms
24,808 KB
testcase_09 AC 31 ms
24,548 KB
testcase_10 AC 29 ms
22,712 KB
testcase_11 AC 30 ms
26,840 KB
testcase_12 AC 30 ms
25,012 KB
testcase_13 AC 31 ms
24,728 KB
testcase_14 AC 29 ms
24,748 KB
testcase_15 AC 35 ms
24,676 KB
testcase_16 AC 34 ms
24,672 KB
testcase_17 AC 31 ms
24,936 KB
testcase_18 TLE -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
testcase_30 -- -
testcase_31 -- -
testcase_32 -- -
testcase_33 -- -
testcase_34 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using System.Text;

public class Program
{

    public void Proc()
    {
        long inpt = long.Parse(Reader.ReadLine());
        Dictionary<string, bool> flag = new Dictionary<string, bool>();
        for (int i = 1; i * i <= inpt; i++) {
            if(inpt%i==0) {
                flag[i.ToString() + (inpt / i)] = true;
                flag[(inpt / i).ToString() + i] = true;
            }
        }
        Console.WriteLine(flag.Count());
    
    }

    public class Reader
	{
		private static StringReader sr;
		public static bool IsDebug = false;
		public static string ReadLine()
		{
			if (IsDebug)
			{
				if (sr == null)
				{
					sr = new StringReader(InputText.Trim());
				}
				return sr.ReadLine();
			}
			else
			{
				return Console.ReadLine();
			}
		}
		private static string InputText = @"




63




";
	}

	public static void Main(string[] args)
	{
#if DEBUG
		Reader.IsDebug = true;
#endif
		Program prg = new Program();
		prg.Proc();
	}
}
0