結果
問題 |
No.218 経験値1.5倍
|
ユーザー |
![]() |
提出日時 | 2015-07-03 11:12:15 |
言語 | Perl (5.40.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 282 bytes |
コンパイル時間 | 224 ms |
コンパイル使用メモリ | 5,504 KB |
実行使用メモリ | 5,888 KB |
最終ジャッジ日時 | 2024-07-07 22:44:02 |
合計ジャッジ時間 | 1,526 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 31 |
コンパイルメッセージ
Main.pl syntax OK
ソースコード
use strict; use warnings; my $a = <>; my $b = <>; my $c = <>; my $normal = ($a / $b) * 2/3; my $count = $a / $c; if($count != int $count) { $count = int ($count + 1); } print "$normal\n"; print "$count\n"; if($count <= $normal) { print "YES\n"; } else { print "NO\n"; } exit;