結果
| 問題 |
No.514 宝探し3
|
| コンテスト | |
| ユーザー |
AreTrash
|
| 提出日時 | 2017-05-06 02:06:59 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 367 bytes |
| コンパイル時間 | 810 ms |
| コンパイル使用メモリ | 106,692 KB |
| 実行使用メモリ | 42,556 KB |
| 平均クエリ数 | 2.92 |
| 最終ジャッジ日時 | 2024-07-16 13:33:43 |
| 合計ジャッジ時間 | 2,394 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 RE * 1 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
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}");
}
}
}
AreTrash