結果

問題 No.687 E869120 and Constructing Array 1
ユーザー kotatsugamekotatsugame
提出日時 2018-06-14 13:38:43
言語 Perl
(5.38.2)
結果
AC  
実行時間 3 ms / 1,000 ms
コード長 97 bytes
コンパイル時間 44 ms
コンパイル使用メモリ 5,296 KB
実行使用メモリ 4,580 KB
最終ジャッジ日時 2023-09-13 04:07:44
合計ジャッジ時間 991 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,456 KB
testcase_01 AC 2 ms
4,480 KB
testcase_02 AC 2 ms
4,572 KB
testcase_03 AC 2 ms
4,500 KB
testcase_04 AC 2 ms
4,580 KB
testcase_05 AC 2 ms
4,500 KB
testcase_06 AC 2 ms
4,504 KB
testcase_07 AC 3 ms
4,512 KB
testcase_08 AC 2 ms
4,476 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$n=<>;
for(1..10){
    if($n-$_>=1&&$n-$_<=10){
        print"$_ ",$n-$_,$/;
        exit
    }
}
0