結果
問題 | No.414 衝動 |
ユーザー | abL8ZLsTbF |
提出日時 | 2016-08-27 22:58:01 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 34 ms / 1,000 ms |
コード長 | 282 bytes |
コンパイル時間 | 754 ms |
コンパイル使用メモリ | 106,080 KB |
実行使用メモリ | 25,940 KB |
最終ジャッジ日時 | 2024-04-27 08:23:33 |
合計ジャッジ時間 | 1,875 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 22 ms
21,752 KB |
testcase_01 | AC | 23 ms
25,936 KB |
testcase_02 | AC | 24 ms
25,600 KB |
testcase_03 | AC | 34 ms
25,832 KB |
testcase_04 | AC | 22 ms
23,908 KB |
testcase_05 | AC | 34 ms
23,856 KB |
testcase_06 | AC | 33 ms
23,896 KB |
testcase_07 | AC | 23 ms
25,940 KB |
testcase_08 | AC | 29 ms
23,652 KB |
testcase_09 | AC | 32 ms
21,812 KB |
testcase_10 | AC | 20 ms
23,652 KB |
testcase_11 | AC | 21 ms
23,892 KB |
testcase_12 | AC | 22 ms
23,652 KB |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; public class Program { public static void Main() { long M = long.Parse(Console.ReadLine()); for (long i = 2; i * i <= M; i++) { if (M % i == 0) { Console.WriteLine("{0} {1}", i, M / i); return; } } Console.WriteLine("{0} {1}", 1, M); } }