結果

問題 No.651 E869120 and Driving
ユーザー motimoti
提出日時 2018-05-18 00:12:34
言語 Perl
(5.38.2)
結果
AC  
実行時間 6 ms / 1,000 ms
コード長 185 bytes
コンパイル時間 232 ms
コンパイル使用メモリ 6,004 KB
実行使用メモリ 5,948 KB
最終ジャッジ日時 2023-10-22 07:57:13
合計ジャッジ時間 969 ms
ジャッジサーバーID
(参考情報)
judge9 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#!/usr/bin/env perl

use strict;
use utf8;
use warnings;

my $b = <>; chomp $b;
my $t = 10 * 60;
$t += $b * 6 / 10;
my $h = int($t / 60);
my $m = $t % 60;
printf "%02d:%02d\n", $h, $m;
0