結果
問題 |
No.480 合計
|
ユーザー |
![]() |
提出日時 | 2020-05-01 19:27:13 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 156 bytes |
コンパイル時間 | 1,803 ms |
コンパイル使用メモリ | 190,372 KB |
最終ジャッジ日時 | 2025-01-10 03:59:31 |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 22 |
コンパイルメッセージ
main.cpp:6:32: warning: multi-character character constant [-Wmultichar] 6 | cout << n * (n + 1) / 2 << '¥n'; | ^~~~
ソースコード
#include<bits/stdc++.h> using namespace std; using ll = long long; int main(void){ ll n;cin >> n; cout << n * (n + 1) / 2 << '¥n'; return 0; }