結果
| 問題 |
No.1824 門\松\列
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-02-23 09:11:08 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 84 ms / 2,000 ms |
| コード長 | 86 bytes |
| コンパイル時間 | 217 ms |
| コンパイル使用メモリ | 81,832 KB |
| 実行使用メモリ | 75,968 KB |
| 最終ジャッジ日時 | 2024-09-29 04:56:19 |
| 合計ジャッジ時間 | 979 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 4 |
ソースコード
for _ in range(int(input())): N = int(input()) print(2 * (N - 2) * (N - 1) * N // 3)