結果
問題 | No.537 ユーザーID |
ユーザー | bayashiko_r |
提出日時 | 2018-11-18 01:49:54 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 548 bytes |
コンパイル時間 | 3,147 ms |
コンパイル使用メモリ | 102,808 KB |
実行使用メモリ | 44,092 KB |
最終ジャッジ日時 | 2023-08-26 01:50:49 |
合計ジャッジ時間 | 7,386 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 56 ms
44,092 KB |
testcase_01 | AC | 57 ms
19,444 KB |
testcase_02 | AC | 55 ms
21,496 KB |
testcase_03 | AC | 54 ms
21,460 KB |
testcase_04 | AC | 53 ms
21,636 KB |
testcase_05 | AC | 52 ms
21,432 KB |
testcase_06 | AC | 53 ms
21,440 KB |
testcase_07 | AC | 53 ms
21,380 KB |
testcase_08 | AC | 55 ms
23,504 KB |
testcase_09 | AC | 54 ms
23,620 KB |
testcase_10 | AC | 54 ms
23,484 KB |
testcase_11 | AC | 52 ms
21,560 KB |
testcase_12 | AC | 52 ms
21,596 KB |
testcase_13 | AC | 51 ms
21,388 KB |
testcase_14 | AC | 53 ms
21,452 KB |
testcase_15 | AC | 53 ms
21,520 KB |
testcase_16 | AC | 52 ms
21,496 KB |
testcase_17 | AC | 54 ms
21,588 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.
ソースコード
using System; using System.Collections.Generic; using System.Linq; class Program { static void Main(string[] args) { //入力 long N = long.Parse(Console.ReadLine()); //1~Nまで割り算をして、数字をくっつける List<string> ansArray = new List<string> { }; for (long i = 1; i <= N; i++) { if (N % i == 0) { ansArray.Add(i.ToString() + (N / i).ToString()); } } //出力 Console.WriteLine(ansArray.Distinct().Count()); } }