結果

問題 No.514 宝探し3
ユーザー AreTrashAreTrash
提出日時 2017-05-06 02:06:59
言語 C#(csc)
(csc 3.9.0)
結果
RE  
実行時間 -
コード長 367 bytes
コンパイル時間 1,856 ms
コンパイル使用メモリ 103,880 KB
実行使用メモリ 35,908 KB
平均クエリ数 2.92
最終ジャッジ日時 2023-09-23 13:55:00
合計ジャッジ時間 3,943 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
30,636 KB
testcase_01 AC 80 ms
30,492 KB
testcase_02 AC 81 ms
30,932 KB
testcase_03 AC 80 ms
30,432 KB
testcase_04 AC 82 ms
30,816 KB
testcase_05 AC 82 ms
30,260 KB
testcase_06 AC 81 ms
30,704 KB
testcase_07 AC 80 ms
30,780 KB
testcase_08 RE -
testcase_09 AC 79 ms
30,304 KB
testcase_10 AC 79 ms
31,052 KB
testcase_11 AC 79 ms
30,912 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

namespace No514{
	public class Program{
		public static void Main(string[] args){
			const int Max = 1000000000;
			Console.WriteLine($"0 0");
			var L = int.Parse(Console.ReadLine());
			Console.WriteLine($"{Max} 0");
			var R = int.Parse(Console.ReadLine());

			var y = (L + R - Max) / 2;
			var x = L - y;
			Console.WriteLine($"{x} {y}");
		}
	}
}
0