結果

問題 No.514 宝探し3
ユーザー Naoyk1212Naoyk1212
提出日時 2017-06-06 00:13:15
言語 C++11
(gcc 11.4.0)
結果
AC  
実行時間 27 ms / 2,000 ms
コード長 340 bytes
コンパイル時間 484 ms
コンパイル使用メモリ 71,092 KB
実行使用メモリ 24,360 KB
平均クエリ数 3.00
最終ジャッジ日時 2023-09-23 14:12:37
合計ジャッジ時間 1,776 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
23,484 KB
testcase_01 AC 25 ms
23,472 KB
testcase_02 AC 24 ms
24,312 KB
testcase_03 AC 25 ms
23,964 KB
testcase_04 AC 24 ms
24,240 KB
testcase_05 AC 24 ms
23,472 KB
testcase_06 AC 27 ms
23,400 KB
testcase_07 AC 24 ms
23,988 KB
testcase_08 AC 23 ms
23,652 KB
testcase_09 AC 25 ms
23,352 KB
testcase_10 AC 25 ms
24,360 KB
testcase_11 AC 25 ms
23,508 KB
権限があれば一括ダウンロードができます

ソースコード

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