結果
| 問題 | No.514 宝探し3 |
| コンテスト | |
| ユーザー |
takeya_okino
|
| 提出日時 | 2019-08-31 02:13:47 |
| 言語 | Java (openjdk 27.0.1.0.3 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 424 ms / 2,000 ms |
| + 0µs | |
| コード長 | 495 bytes |
| 記録 | |
| コンパイル時間 | 2,127 ms |
| コンパイル使用メモリ | 96,872 KB |
| 実行使用メモリ | 48,512 KB |
| 平均クエリ数 | 2.71 |
| 最終ジャッジ日時 | 2026-11-20 23:15:38 |
| 合計ジャッジ時間 | 6,699 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 |
ソースコード
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println(0 + " " + 0);
System.out.flush();
long R = sc.nextLong();
if(R == 0) System.exit(0);
System.out.println(R + " " + 0);
System.out.flush();
long a = sc.nextLong();
if(a == 0) System.exit(0);
System.out.println((R - a / 2) + " " + (a / 2));
System.out.flush();
long b = sc.nextLong();
System.exit(0);
}
}
takeya_okino