結果
問題 |
No.513 宝探し2
|
ユーザー |
![]() |
提出日時 | 2019-03-21 11:12:23 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 378 bytes |
コンパイル時間 | 576 ms |
コンパイル使用メモリ | 61,276 KB |
実行使用メモリ | 25,476 KB |
平均クエリ数 | 3.00 |
最終ジャッジ日時 | 2024-07-16 16:41:17 |
合計ジャッジ時間 | 3,675 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 3 WA * 9 |
ソースコード
#include <iostream> #include <vector> #include <utility> #include <algorithm> #include <string> #include <stack> using ll = long long; #define MOD 1000000007 using namespace std; int main(){ int x,y,d1,d2; cout << "0 0" << endl; cin >> d1; cout << "100000 0" << endl; cin >> d2; x = d1 - d2 + 100000; y = d1 - x; cout << x << " " << y << endl; }