結果
問題 | No.2469 Umbrella Queries |
ユーザー |
![]() |
提出日時 | 2024-03-16 02:24:35 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 19 ms / 2,000 ms |
コード長 | 250 bytes |
コンパイル時間 | 663 ms |
コンパイル使用メモリ | 77,508 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-09-30 03:45:14 |
合計ジャッジ時間 | 1,375 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 1 |
ソースコード
#include <iostream>using namespace std;int main() {cin.tie(nullptr)->sync_with_stdio(false);int T;cin >> T;while (T--) {long long N;cin >> N;cout << (N % 2 == 0) * (N / 2) * (N - 2) << '\n';}}