結果
| 問題 | No.514 宝探し3 |
| コンテスト | |
| ユーザー |
nenuon
|
| 提出日時 | 2017-05-06 13:20:40 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 61 ms / 2,000 ms |
| + 0µs | |
| コード長 | 548 bytes |
| 記録 | |
| コンパイル時間 | 459 ms |
| コンパイル使用メモリ | 95,716 KB |
| 実行使用メモリ | 9,524 KB |
| 平均クエリ数 | 2.92 |
| 最終ジャッジ日時 | 2026-08-14 04:07:33 |
| 合計ジャッジ時間 | 1,524 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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