結果
問題 |
No.480 合計
|
ユーザー |
![]() |
提出日時 | 2023-03-17 15:49:22 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 132 bytes |
コンパイル時間 | 1,384 ms |
コンパイル使用メモリ | 165,720 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-18 10:01:38 |
合計ジャッジ時間 | 2,117 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 22 |
コンパイルメッセージ
main.cpp: In function 'int main()': main.cpp:6:21: warning: 'N' is used uninitialized [-Wuninitialized] 6 | cout << N*(N+1)/2 << endl; | ~~^~~ main.cpp:5:13: note: 'N' was declared here 5 | int N; | ^
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int N; cout << N*(N+1)/2 << endl; }