結果
| 問題 |
No.513 宝探し2
|
| コンテスト | |
| ユーザー |
Naoyk1212
|
| 提出日時 | 2017-06-06 00:13:37 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 26 ms / 2,000 ms |
| コード長 | 340 bytes |
| コンパイル時間 | 569 ms |
| コンパイル使用メモリ | 71,100 KB |
| 実行使用メモリ | 25,220 KB |
| 平均クエリ数 | 3.00 |
| 最終ジャッジ日時 | 2024-07-17 01:14:27 |
| 合計ジャッジ時間 | 1,847 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
ソースコード
#include <iostream>
#include <iomanip>
#include <stack>
#include <queue>
#include <vector>
#include <algorithm>
#include <map>
#include <set>
using namespace std;
signed main(){
int a, b;
cout << 0 << " " << 0 << endl;
cin >> a;
cout << a << " " << 0 << endl;
cin >> b;
cout << a - b / 2 << " " << b / 2 << endl;
}
Naoyk1212