結果
| 問題 | No.514 宝探し3 |
| コンテスト | |
| ユーザー |
nenuon
|
| 提出日時 | 2017-05-06 13:20:40 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 23 ms / 2,000 ms |
| コード長 | 548 bytes |
| 記録 | |
| コンパイル時間 | 578 ms |
| コンパイル使用メモリ | 72,376 KB |
| 実行使用メモリ | 25,220 KB |
| 平均クエリ数 | 3.00 |
| 最終ジャッジ日時 | 2024-07-16 13:36:04 |
| 合計ジャッジ時間 | 1,664 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
ソースコード
#include <algorithm>
#include <cstdio>
#include <iostream>
#include <map>
#include <cmath>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
#include <stdlib.h>
#include <stdio.h>
using namespace std;
#define ll long long
#define PI acos(-1.0)
#define FOR(I,A,B) for(int I = (A); I < (B); ++I)
int main(){
ll A, B;
cout << 0 << " " << 0 << endl;
cin >> A;
cout << 0 << " " << A << endl;
cin >> B;
cout << B/2 << " " << A - B/2 << endl;
return 0;
}
nenuon