結果

問題 No.413 +5,000,000pts
ユーザー snrnsidy
提出日時 2021-05-27 01:25:15
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 11 ms / 5,000 ms
コード長 307 bytes
コンパイル時間 2,307 ms
コンパイル使用メモリ 208,804 KB
最終ジャッジ日時 2025-01-21 18:39:04
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1
権限があれば一括ダウンロードができます

ソースコード

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