結果
| 問題 |
No.1824 門\松\列
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-28 21:41:59 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 111 bytes |
| コンパイル時間 | 449 ms |
| コンパイル使用メモリ | 81,872 KB |
| 実行使用メモリ | 70,116 KB |
| 最終ジャッジ日時 | 2024-12-30 05:49:44 |
| 合計ジャッジ時間 | 1,452 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 1 |
| other | RE * 4 |
ソースコード
T = int(input())
for _ in range(T):
N = int(input())
ans = (N-2) * (N-1) * N // 3 * 2
prrriint(ans)