結果

問題 No.413 +5,000,000pts
ユーザー snrnsidysnrnsidy
提出日時 2021-05-27 01:25:15
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 9 ms / 5,000 ms
コード長 307 bytes
コンパイル時間 2,706 ms
コンパイル使用メモリ 204,112 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-04-23 18:36:43
合計ジャッジ時間 2,707 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#pragma GCC optimize("O3")
#include <bits/stdc++.h>
 
using namespace std;
typedef long long ll;

ll calc(ll d) {
  return (ll)((-1 + sqrt(1 + 4*d)) / 2.0);
}

int main(void)
{
	cin.tie(NULL);
	ios::sync_with_stdio(false);

	for(int i=1e8;i<1e8+1e5;i++)
	{
		cout << 1LL*i*i + i -1 << '\n';
	}
	return 0;
}
0