結果
| 問題 | No.2216 Pa1indr0me | 
| コンテスト | |
| ユーザー |  ekaraage | 
| 提出日時 | 2022-06-09 12:03:38 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 3 ms / 2,000 ms | 
| コード長 | 662 bytes | 
| コンパイル時間 | 3,868 ms | 
| コンパイル使用メモリ | 250,352 KB | 
| 最終ジャッジ日時 | 2025-01-29 19:17:22 | 
| ジャッジサーバーID (参考情報) | judge4 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 3 | 
ソースコード
#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using ll = long long;
constexpr long long MOD = 1000000007;
constexpr long long MOD2 = 998244353;
constexpr long long INF = 1LL << 60;
const long double PI = acosl(-1.0);
constexpr long double EPS = 1e-11;
template<class T> inline bool chmin(T& a, T b) {
    if (a > b) {
        a = b;
        return true;
    }
    return false;
}
template<class T> inline bool chmax(T& a, T b) {
    if (a < b) {
        a = b;
        return true;
    }
    return false;
}
int main() {
    ll t;
    cin >> t;
    while (t--) {
        ll n;
        cin >> n;
        cout << n * (n + 1) << endl;
    }
}
            
            
            
        