結果

問題 No.218 経験値1.5倍
ユーザー togaerrortogaerror
提出日時 2015-07-03 11:12:39
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 246 bytes
コンパイル時間 247 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 5,116 KB
最終ジャッジ日時 2023-09-22 05:58:36
合計ジャッジ時間 1,654 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 5 ms
4,932 KB
testcase_01 AC 6 ms
5,028 KB
testcase_02 AC 5 ms
5,072 KB
testcase_03 AC 6 ms
4,756 KB
testcase_04 AC 6 ms
4,988 KB
testcase_05 AC 5 ms
4,984 KB
testcase_06 AC 5 ms
4,984 KB
testcase_07 AC 5 ms
4,780 KB
testcase_08 AC 6 ms
5,020 KB
testcase_09 AC 5 ms
4,876 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 5 ms
4,840 KB
testcase_14 AC 6 ms
4,944 KB
testcase_15 AC 5 ms
4,876 KB
testcase_16 WA -
testcase_17 AC 5 ms
5,036 KB
testcase_18 AC 5 ms
5,048 KB
testcase_19 AC 5 ms
5,036 KB
testcase_20 AC 5 ms
4,796 KB
testcase_21 AC 5 ms
4,980 KB
testcase_22 AC 5 ms
4,796 KB
testcase_23 AC 5 ms
4,988 KB
testcase_24 AC 5 ms
4,984 KB
testcase_25 AC 5 ms
4,880 KB
testcase_26 WA -
testcase_27 AC 5 ms
4,976 KB
testcase_28 WA -
testcase_29 AC 5 ms
4,888 KB
testcase_30 AC 6 ms
4,904 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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);
}

if($count <= $normal) {
	print "YES\n";
} else {
	print "NO\n";
}

exit;
0