結果

問題 No.413 +5,000,000pts
ユーザー Fu_LFu_L
提出日時 2021-01-05 00:04:51
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 135 ms / 5,000 ms
コード長 483 bytes
コンパイル時間 2,107 ms
コンパイル使用メモリ 193,912 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-04-23 08:49:05
合計ジャッジ時間 2,785 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 135 ms
5,248 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
//#include <atcoder/all>
using namespace std;
//using namespace atcoder;
typedef long long ll;
typedef pair<ll,ll> P;
//typedef modint998244353 mint;
#define rep(i,a,b) for(ll i=a;i<b;i++)
#define rrep(i,a,b) for(ll i=a;i>=b;i--)
ll calc(ll d) {
    return (ll)((-1 + sqrt(1 + 4*d)) / 2.0);
}
int main(void){
    cin.tie(0);
    ios::sync_with_stdio(0);
    rep(i,0,100000){
        cout<<(1000000000-1-i)*(1000000000-1-i)+(1000000000-1-i)-1<<endl;
    }

}
0