結果

問題 No.513 宝探し2
ユーザー Nasatame
提出日時 2017-05-05 22:38:52
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 384 bytes
コンパイル時間 462 ms
コンパイル使用メモリ 54,212 KB
実行使用メモリ 25,448 KB
平均クエリ数 2.83
最終ジャッジ日時 2024-07-16 12:57:25
合計ジャッジ時間 2,957 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 5 WA * 7
権限があれば一括ダウンロードができます

ソースコード

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