結果

問題 No.413 +5,000,000pts
ユーザー treeonetreeone
提出日時 2016-08-12 23:23:42
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 491 bytes
コンパイル時間 1,168 ms
コンパイル使用メモリ 156,904 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-04-25 05:45:42
合計ジャッジ時間 1,842 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <bits/stdc++.h>
#define rep(i, a, n) for(int i = a; i < n; i++)
#define repb(i, a, b) for(int i = a; i >= b; i--)
// #define FOR(i, a) for(auto& i : a)
#define all(a) a.begin(), a.end()
#define int long long
using namespace std;

signed main(){
    // int d;
    // cin >> d;
    // int a = (int)(-1 + (sqrt(1 + 4 * d))/ 2.0);
    // cout << -1 + (sqrt(1 + 4 * d)) << endl;
    // cout << a << endl;
    rep(i, 1, 100001){
        int t = i*i + i;
        cout << t << endl;
    }
}
0