結果
問題 |
No.1822 Keima of Shogi
|
ユーザー |
![]() |
提出日時 | 2022-01-28 22:41:29 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 128 bytes |
コンパイル時間 | 642 ms |
コンパイル使用メモリ | 62,592 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-30 09:06:27 |
合計ジャッジ時間 | 1,268 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 7 |
ソースコード
#include <iostream> int main() { long long int n; std::cin >> n; n = n/3; std::cout << n*(n+1)/2 << std::endl; }