結果
| 問題 | No.1824 門\松\列 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-02-18 09:04:56 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 70 ms / 2,000 ms |
| コード長 | 90 bytes |
| 記録 | |
| コンパイル時間 | 1,748 ms |
| コンパイル使用メモリ | 84,480 KB |
| 実行使用メモリ | 77,696 KB |
| 最終ジャッジ日時 | 2026-07-03 05:18:41 |
| 合計ジャッジ時間 | 1,302 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 4 |
ソースコード
T = int(input())
for _ in range(T):
N = int(input())
print(((N-1)*(N-2)*(2*N))//3)