結果
問題 | No.734 Careful Engineer |
ユーザー | ekidenp |
提出日時 | 2018-09-28 21:40:31 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 26 ms / 2,000 ms |
コード長 | 327 bytes |
コンパイル時間 | 2,098 ms |
コンパイル使用メモリ | 103,424 KB |
実行使用メモリ | 26,204 KB |
最終ジャッジ日時 | 2024-04-20 10:58:48 |
合計ジャッジ時間 | 1,981 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 24 ms
26,204 KB |
testcase_01 | AC | 25 ms
25,876 KB |
testcase_02 | AC | 25 ms
23,784 KB |
testcase_03 | AC | 25 ms
23,960 KB |
testcase_04 | AC | 25 ms
23,908 KB |
testcase_05 | AC | 24 ms
25,820 KB |
testcase_06 | AC | 24 ms
24,108 KB |
testcase_07 | AC | 26 ms
23,980 KB |
testcase_08 | AC | 25 ms
23,912 KB |
testcase_09 | AC | 26 ms
23,988 KB |
testcase_10 | AC | 24 ms
24,088 KB |
testcase_11 | AC | 24 ms
23,660 KB |
testcase_12 | AC | 26 ms
26,080 KB |
testcase_13 | AC | 26 ms
24,112 KB |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { string[]str = Console.ReadLine().Split(); long A = long.Parse(str[0])*60; long B = long.Parse(str[1]); long C = long.Parse(str[2])*3600; long X = -1; if(A>B){ X = (C-1) / (A-B)+1; } Console.WriteLine(X); } }