結果
| 問題 | No.514 宝探し3 |
| コンテスト | |
| ユーザー |
takeya_okino
|
| 提出日時 | 2019-08-31 02:13:47 |
| 言語 | Java (openjdk 27.0.1.0.3 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 529 ms / 2,000 ms |
| + 998µs | |
| コード長 | 495 bytes |
| 記録 | |
| コンパイル時間 | 2,059 ms |
| コンパイル使用メモリ | 91,952 KB |
| 実行使用メモリ | 48,816 KB |
| 平均クエリ数 | 2.69 |
| 最終ジャッジ日時 | 2026-10-31 09:32:45 |
| 合計ジャッジ時間 | 5,767 ms |
|
ジャッジサーバーID (参考情報) |
judge7_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
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