結果
| 問題 |
No.689 E869120 and Constructing Array 3
|
| コンテスト | |
| ユーザー |
tails
|
| 提出日時 | 2018-05-19 00:25:41 |
| 言語 | Perl (5.40.0) |
| 結果 |
AC
|
| 実行時間 | 9 ms / 1,000 ms |
| コード長 | 133 bytes |
| コンパイル時間 | 182 ms |
| コンパイル使用メモリ | 6,944 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-28 14:12:48 |
| 合計ジャッジ時間 | 1,506 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 |
コンパイルメッセージ
Main.pl syntax OK
ソースコード
@p=<2 125 4 127 16 121 8 131 61 88 34 117>;
$_=<>;
while($_>0){
push@a,@p[($i,$i+1)x($==sqrt)];
$i+=2;
$_-=$=*$=;
}
print@a."\n@a"
tails