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