結果
| 問題 | 
                            No.513 宝探し2
                             | 
                    
| コンテスト | |
| ユーザー | 
                             uafr_cs
                         | 
                    
| 提出日時 | 2017-10-30 16:18:13 | 
| 言語 | Java  (openjdk 23)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 606 bytes | 
| コンパイル時間 | 2,668 ms | 
| コンパイル使用メモリ | 87,868 KB | 
| 実行使用メモリ | 71,768 KB | 
| 平均クエリ数 | 3.67 | 
| 最終ジャッジ日時 | 2024-07-16 14:15:40 | 
| 合計ジャッジ時間 | 5,602 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 9 RE * 3 | 
ソースコード
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.PriorityQueue;
import java.util.Scanner;
public class Main {
	
	public static int RANGE = 100;
	
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		System.out.println(0 + " " + 0);
		final int orig_dist = sc.nextInt();
		
		System.out.println(orig_dist + " " + 0);
		final int x = orig_dist - sc.nextInt() / 2;
		
		System.out.println(x + " " + 0);
		final int y = sc.nextInt();
		
		System.out.println(x + " " + y);
	}
}
            
            
            
        
            
uafr_cs