結果

問題 No.442 和と積
ユーザー ixTL255ixTL255
提出日時 2017-01-27 17:58:14
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 71 ms / 1,000 ms
コード長 246 bytes
コンパイル時間 2,319 ms
コンパイル使用メモリ 103,400 KB
実行使用メモリ 24,032 KB
最終ジャッジ日時 2023-09-18 06:47:46
合計ジャッジ時間 4,608 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
21,928 KB
testcase_01 AC 68 ms
21,916 KB
testcase_02 AC 68 ms
20,060 KB
testcase_03 AC 70 ms
22,140 KB
testcase_04 AC 68 ms
23,940 KB
testcase_05 AC 68 ms
21,912 KB
testcase_06 AC 68 ms
24,032 KB
testcase_07 AC 68 ms
21,944 KB
testcase_08 AC 68 ms
22,004 KB
testcase_09 AC 71 ms
24,000 KB
testcase_10 AC 69 ms
22,136 KB
testcase_11 AC 71 ms
24,016 KB
testcase_12 AC 71 ms
22,076 KB
testcase_13 AC 71 ms
22,048 KB
testcase_14 AC 71 ms
22,140 KB
testcase_15 AC 71 ms
22,056 KB
testcase_16 AC 69 ms
22,036 KB
testcase_17 AC 69 ms
22,024 KB
testcase_18 AC 69 ms
22,136 KB
testcase_19 AC 69 ms
22,140 KB
testcase_20 AC 70 ms
22,056 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using c=System.Console;
using b=System.Numerics.BigInteger;
using System.Linq;
public class Y{
public static void Main(){
var a=c.ReadLine().Split(' ').Select(n=>b.Parse(n)).ToList();		c.WriteLine(b.GreatestCommonDivisor(a[0]*a[1],a[0]+a[1]));
}}
0