結果
| 問題 | No.480 合計 |
| コンテスト | |
| ユーザー |
vjudge1
|
| 提出日時 | 2025-03-07 13:02:18 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 297 bytes |
| 記録 | |
| コンパイル時間 | 808 ms |
| コンパイル使用メモリ | 145,620 KB |
| 実行使用メモリ | 9,288 KB |
| 最終ジャッジ日時 | 2026-07-06 22:11:21 |
| 合計ジャッジ時間 | 2,324 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 22 |
ソースコード
#include <iostream>
int main() {
int x;
std::cin >> x;
// Define a lambda function to perform the calculation
auto calculate = [](int x) {
return x * (x + 1) / 2;
};
int result = calculate(x);
std::cout << "Result: " << result << std::endl;
return 0;
}
vjudge1