結果
問題 | No.2253 Ignore Subtle Differences |
ユーザー |
![]() |
提出日時 | 2024-12-03 02:15:09 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 281 bytes |
コンパイル時間 | 1,844 ms |
コンパイル使用メモリ | 165,512 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-03 02:15:12 |
合計ジャッジ時間 | 2,469 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ long long x=1,y=4; long long x_1,y_1; while(y*y-x*x <= 2*10000000000000000){ x_1 = y; y_1 = 4*y-x; x = x_1; y = y_1; } cout << "0 0" << endl; cout << x << " " << y << endl; cout << y << " " << x << endl; }