結果
| 問題 |
No.513 宝探し2
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-05-06 01:11:44 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 24 ms / 2,000 ms |
| コード長 | 136 bytes |
| コンパイル時間 | 577 ms |
| コンパイル使用メモリ | 64,204 KB |
| 実行使用メモリ | 25,220 KB |
| 平均クエリ数 | 3.00 |
| 最終ジャッジ日時 | 2024-07-17 01:04:50 |
| 合計ジャッジ時間 | 1,530 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;}
| ^~~~
ソースコード
#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;}