結果
問題 | No.651 E869120 and Driving |
ユーザー | saran1591 |
提出日時 | 2018-06-27 16:32:27 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 24 ms / 1,000 ms |
コード長 | 399 bytes |
コンパイル時間 | 884 ms |
コンパイル使用メモリ | 107,972 KB |
実行使用メモリ | 23,892 KB |
最終ジャッジ日時 | 2023-10-22 07:58:51 |
合計ジャッジ時間 | 1,804 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 23 ms
23,876 KB |
testcase_01 | AC | 24 ms
23,876 KB |
testcase_02 | AC | 23 ms
23,892 KB |
testcase_03 | AC | 23 ms
23,876 KB |
testcase_04 | AC | 23 ms
23,876 KB |
testcase_05 | AC | 23 ms
23,876 KB |
testcase_06 | AC | 23 ms
23,876 KB |
testcase_07 | AC | 23 ms
23,892 KB |
testcase_08 | AC | 23 ms
23,876 KB |
testcase_09 | AC | 23 ms
23,876 KB |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using static System.Console; namespace App { class Prog { static void Main() { var x = int.Parse(ReadLine()); x = x / 5 * 3; string min; if (x % 60 == 0) min = "00"; else min = (x % 60).ToString(); if (min.Length == 1) min = "0" + min; WriteLine(10 + (x / 60) + ":" + min); } } }