結果

問題 No.734 Careful Engineer
ユーザー ekidenpekidenp
提出日時 2018-09-28 21:32:11
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 323 bytes
コンパイル時間 2,559 ms
コンパイル使用メモリ 103,296 KB
実行使用メモリ 18,048 KB
最終ジャッジ日時 2024-04-20 10:54:32
合計ジャッジ時間 2,937 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
17,920 KB
testcase_01 WA -
testcase_02 AC 25 ms
17,664 KB
testcase_03 AC 25 ms
18,048 KB
testcase_04 AC 25 ms
17,792 KB
testcase_05 AC 25 ms
17,664 KB
testcase_06 AC 26 ms
17,664 KB
testcase_07 AC 25 ms
17,792 KB
testcase_08 AC 25 ms
18,048 KB
testcase_09 AC 25 ms
17,664 KB
testcase_10 AC 25 ms
17,920 KB
testcase_11 AC 25 ms
18,048 KB
testcase_12 AC 25 ms
17,920 KB
testcase_13 AC 25 ms
17,792 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

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 / (A-B)+1;
		}
		Console.WriteLine(X);
	}
}
0