結果

問題 No.514 宝探し3
ユーザー kotatsugame
提出日時 2017-05-06 01:11:44
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 22 ms / 2,000 ms
コード長 136 bytes
コンパイル時間 585 ms
コンパイル使用メモリ 64,012 KB
実行使用メモリ 25,220 KB
平均クエリ数 3.00
最終ジャッジ日時 2024-07-16 13:31:59
合計ジャッジ時間 1,698 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:2:21: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | using namespace std;main(){long a,b;cout<<"0 0"<<endl;cin>>a;cout<<"0 "<<a<<endl;cin>>b;cout<<b/2<<" "<<a-b/2<<endl;}
      |                     ^~~~

ソースコード

diff #

#include<iostream>
using namespace std;main(){long a,b;cout<<"0 0"<<endl;cin>>a;cout<<"0 "<<a<<endl;cin>>b;cout<<b/2<<" "<<a-b/2<<endl;}
0