結果

問題 No.513 宝探し2
ユーザー NasatameNasatame
提出日時 2017-05-05 22:38:52
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 384 bytes
コンパイル時間 404 ms
コンパイル使用メモリ 51,068 KB
実行使用メモリ 24,420 KB
平均クエリ数 2.83
最終ジャッジ日時 2023-09-23 13:20:35
合計ジャッジ時間 2,670 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 23 ms
23,988 KB
testcase_06 WA -
testcase_07 AC 22 ms
23,376 KB
testcase_08 AC 24 ms
24,300 KB
testcase_09 AC 24 ms
24,312 KB
testcase_10 AC 23 ms
24,420 KB
testcase_11 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

using namespace std;

// 座標(0,0)から(0,99)までを試す。
int main(){
    cout << 0 << " " << 0 << endl;
    int d;
    cin>>d;
    
    if(d==0)return 0;
    
    int a = d;
    cout << d << " " << 0 << endl;
    
    if(d==0)return 0;
    
    cout << a - d/2 << " " << d/2 << endl;
    
    cin >> d;
    
    if(d == 0) return 0;
    
    return 0;
}
0