結果
| 問題 | No.2216 Pa1indr0me |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-05-23 10:38:54 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 157 bytes |
| 記録 | |
| コンパイル時間 | 437 ms |
| コンパイル使用メモリ | 78,080 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-30 17:33:46 |
| 合計ジャッジ時間 | 1,224 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 3 |
ソースコード
#include <iostream>
using namespace std;
int main(){
int t;cin>>t;
for(int i = 0; t > i; i++){
long long x;cin>>x;
cout << 2*(x*(x+1))/2 << endl;
}
}