結果

問題 No.513 宝探し2
ユーザー NasatameNasatame
提出日時 2017-05-05 22:43:31
言語 C++11
(gcc 11.4.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 406 bytes
コンパイル時間 352 ms
コンパイル使用メモリ 51,108 KB
実行使用メモリ 36,084 KB
最終ジャッジ日時 2023-09-24 01:03:52
合計ジャッジ時間 6,938 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
権限があれば一括ダウンロードができます

ソースコード

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;
    cin >> 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;
}

// 5 7
0