結果
| 問題 | No.2937 Sigma Plus Problem |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-10-18 23:57:58 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 221 bytes |
| 記録 | |
| コンパイル時間 | 1,001 ms |
| コンパイル使用メモリ | 210,488 KB |
| 実行使用メモリ | 9,284 KB |
| 最終ジャッジ日時 | 2026-07-06 00:32:46 |
| 合計ジャッジ時間 | 12,679 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 TLE * 1 |
| other | AC * 7 TLE * 13 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(false);
cin.tie(nullptr);
unsigned long long N,an=0;
cin>>N;
for(long long i=1;i<=N;i++)an+=i;
cout<<an<<endl;
}