結果
| 問題 |
No.513 宝探し2
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2019-05-01 10:37:30 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 25 ms / 2,000 ms |
| コード長 | 530 bytes |
| コンパイル時間 | 2,475 ms |
| コンパイル使用メモリ | 71,344 KB |
| 実行使用メモリ | 25,220 KB |
| 平均クエリ数 | 2.83 |
| 最終ジャッジ日時 | 2024-07-17 02:15:36 |
| 合計ジャッジ時間 | 1,768 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
ソースコード
#include <cstdio>
#include <cstdlib>
#include <cstddef>
#include <vector>
#include <algorithm>
#include <cmath>
#include <string>
#include <iostream>
#include <iomanip>
#define L64 long long
#define MOD (1000000007LL)
int main(void)
{
L64 a, b;
L64 x, y;
std::cout << "0 0" << std::endl << std::flush;
std::cin >> a;
if(a == 0){
return 0;
}
std::cout << a << " 0" << std::endl << std::flush;
std::cin >> b;
y = b / 2;
x = a - y;
std::cout << x << " " << y << std::endl << std::flush;
std::cin >> b;
}