結果
| 問題 |
No.379 五円硬貨
|
| コンテスト | |
| ユーザー |
sam_kino
|
| 提出日時 | 2016-07-25 06:22:28 |
| 言語 | Perl (5.40.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 284 bytes |
| コンパイル時間 | 789 ms |
| コンパイル使用メモリ | 7,808 KB |
| 実行使用メモリ | 7,936 KB |
| 最終ジャッジ日時 | 2024-11-06 16:16:32 |
| 合計ジャッジ時間 | 1,167 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 16 |
コンパイルメッセージ
Main.pl syntax OK
ソースコード
# use strict; use warnings; use utf8; use Encode; my $line=<STDIN>; #標準入力 chomp($line); #----- 空白で分割 my @lines=split(/ /,$line); #----- perl 文字列・数値 明確に区別しない 自動変換 my $ans=(($lines[0]/20)*$lines[1])/$lines[2]; print $ans;
sam_kino