結果

問題 No.513 宝探し2
ユーザー TakatenTakaten
提出日時 2017-05-05 23:14:12
言語 C++14
(gcc 13.2.0 + boost 1.83.0)
結果
AC  
実行時間 28 ms / 2,000 ms
コード長 259 bytes
コンパイル時間 1,407 ms
コンパイル使用メモリ 162,992 KB
実行使用メモリ 24,360 KB
平均クエリ数 3.00
最終ジャッジ日時 2023-09-24 01:06:57
合計ジャッジ時間 2,759 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
23,364 KB
testcase_01 AC 24 ms
23,616 KB
testcase_02 AC 25 ms
24,336 KB
testcase_03 AC 26 ms
24,360 KB
testcase_04 AC 25 ms
23,808 KB
testcase_05 AC 25 ms
24,348 KB
testcase_06 AC 25 ms
24,276 KB
testcase_07 AC 25 ms
23,664 KB
testcase_08 AC 25 ms
23,988 KB
testcase_09 AC 25 ms
23,604 KB
testcase_10 AC 26 ms
24,012 KB
testcase_11 AC 26 ms
24,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main() {
    cout << 0 << " " << 0 << endl;

    int d;
    cin >> d;

    cout << d << " " << 0 << endl;

    int d2;

    cin >> d2;

    d2 /= 2;

    cout << d - d2 << " " << d2 << endl;

    return 0;
}
0