結果

問題 No.442 和と積
ユーザー ixTL255ixTL255
提出日時 2017-01-27 17:51:02
言語 C#(csc)
(csc 3.9.0)
結果
RE  
実行時間 -
コード長 235 bytes
コンパイル時間 2,312 ms
コンパイル使用メモリ 105,580 KB
実行使用メモリ 24,040 KB
最終ジャッジ日時 2023-08-25 03:39:07
合計ジャッジ時間 4,875 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 AC 65 ms
23,988 KB
testcase_02 AC 66 ms
24,024 KB
testcase_03 RE -
testcase_04 AC 65 ms
24,040 KB
testcase_05 AC 65 ms
22,020 KB
testcase_06 AC 65 ms
22,120 KB
testcase_07 RE -
testcase_08 AC 64 ms
21,820 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 RE -
testcase_17 RE -
testcase_18 RE -
testcase_19 RE -
testcase_20 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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 System.Linq;
public class Y{
public static void Main(){
var a=c.ReadLine().Split(' ').Select(n=>int.Parse(n)).ToList();		c.WriteLine(System.Numerics.BigInteger.GreatestCommonDivisor(a[0]*a[1],a.Sum()));
}}
0