結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 23 ms
24,348 KB
testcase_08 AC 24 ms
23,508 KB
testcase_09 WA -
testcase_10 AC 25 ms
23,844 KB
testcase_11 AC 26 ms
24,264 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