結果
| 問題 | No.594 壊れた宝物発見機 | 
| コンテスト | |
| ユーザー |  ikd | 
| 提出日時 | 2017-11-14 16:42:33 | 
| 言語 | D (dmd 2.109.1) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 499 bytes | 
| コンパイル時間 | 607 ms | 
| コンパイル使用メモリ | 99,252 KB | 
| 実行使用メモリ | 25,488 KB | 
| 平均クエリ数 | 1.00 | 
| 最終ジャッジ日時 | 2024-06-12 22:32:08 | 
| 合計ジャッジ時間 | 3,977 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 1 WA * 19 | 
ソースコード
void main(){
  import std.stdio, std.string, std.conv, std.algorithm;
  int ask(int x, int y, int z){
    writeln("? ", x, " ", y, " ", z);
    stdout.flush();
    auto d=readln.to!(int);
    return d;
  }
  void answer(int x, int y, int z){
    writeln("! ", x, " ", y, " ", z);
  }
  int x, y, z;
  answer(x, y, z);
}
void rd(T...)(ref T x){
  import std.stdio, std.string, std.conv;
  auto l=readln.split;
  assert(l.length==x.length);
  foreach(i, ref e; x){
    e=l[i].to!(typeof(e));
  }
}
            
            
            
        