結果

問題 No.442 和と積
ユーザー motimoti
提出日時 2018-05-21 01:25:42
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 155 bytes
コンパイル時間 499 ms
コンパイル使用メモリ 11,080 KB
実行使用メモリ 11,016 KB
最終ジャッジ日時 2023-09-11 00:14:42
合計ジャッジ時間 2,431 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 37 ms
10,924 KB
testcase_02 AC 37 ms
10,988 KB
testcase_03 AC 42 ms
10,688 KB
testcase_04 WA -
testcase_05 AC 38 ms
10,908 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 37 ms
10,948 KB
testcase_10 WA -
testcase_11 AC 37 ms
10,920 KB
testcase_12 AC 38 ms
10,696 KB
testcase_13 AC 38 ms
10,768 KB
testcase_14 AC 38 ms
10,920 KB
testcase_15 AC 38 ms
10,908 KB
testcase_16 AC 37 ms
10,904 KB
testcase_17 AC 37 ms
10,808 KB
testcase_18 WA -
testcase_19 AC 40 ms
10,920 KB
testcase_20 AC 38 ms
10,924 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

#!/usr/bin/env perl

use strict;
use warnings;
use Math::BigInt;

my ($x, $y) = split / /, <>; chomp $y;
my $gcd = Math::BigInt::bgcd($x, $y);
print $gcd;
0