結果

問題 No.514 宝探し3
ユーザー Naoyk1212
提出日時 2017-06-06 00:13:15
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 27 ms / 2,000 ms
コード長 340 bytes
コンパイル時間 1,566 ms
コンパイル使用メモリ 70,592 KB
実行使用メモリ 25,604 KB
平均クエリ数 3.00
最終ジャッジ日時 2024-07-16 13:51:49
合計ジャッジ時間 1,976 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <iomanip>
#include <stack>
#include <queue>
#include <vector>
#include <algorithm>
#include <map>
#include <set>
using namespace std;

signed main(){
    int a, b;
    cout << 0 << " " << 0 << endl;
    cin >> a;
    cout << a << " " << 0 << endl;
    cin >> b;

    cout << a - b / 2 << " " << b / 2 << endl;
}
0