結果

問題 No.514 宝探し3
ユーザー kotatsugamekotatsugame
提出日時 2017-05-06 01:10:36
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 136 bytes
コンパイル時間 435 ms
コンパイル使用メモリ 64,384 KB
実行使用メモリ 24,360 KB
平均クエリ数 3.00
最終ジャッジ日時 2023-09-23 13:53:49
合計ジャッジ時間 2,836 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 24 ms
23,328 KB
testcase_08 AC 24 ms
23,340 KB
testcase_09 WA -
testcase_10 AC 24 ms
23,784 KB
testcase_11 AC 24 ms
23,580 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:2:21: 警告: ISO C++ では型の無い ‘main’ の宣言を禁止しています [-Wreturn-type]
    2 | using namespace std;main(){long a,b;cout<<"0 0"<<endl;cin>>a;cout<<"0 "<<a<<endl;cin>>b;cout<<a/2<<" "<<b-a/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<<a/2<<" "<<b-a/2<<endl;}
0