結果
| 問題 | No.8130 プラチナバッハ問題 |
| コンテスト | |
| ユーザー |
SnowBeenDiding
|
| 提出日時 | 2026-04-01 22:37:58 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 10 ms / 6,000 ms |
| コード長 | 553 bytes |
| 記録 | |
| コンパイル時間 | 6,225 ms |
| コンパイル使用メモリ | 419,748 KB |
| 実行使用メモリ | 427,436 KB |
| 最終ジャッジ日時 | 2026-04-01 22:38:12 |
| 合計ジャッジ時間 | 7,402 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| サブタスク | 配点 | 結果 |
|---|---|---|
| small | 10 % | AC * 12 |
| large | 90 % | AC * 18 |
| 合計 | 2.5 * 100% = 250 点 |
ソースコード
#pragma GCC target("avx2")
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")
#include <bits/stdc++.h>
#include <atcoder/all>
#define rep(i, a, b) for (ll i = (ll)(a); i < (ll)(b); i++)
using namespace atcoder;
using namespace std;
typedef long long ll;
void solve() {
ll n;
cin >> n;
bool ok = !(n == 1 || n == 4 || n == 6);
cout << (ok ? "Yes\n" : "No\n");
}
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout << fixed << setprecision(15);
int t;
cin >> t;
while (t--) solve();
}
SnowBeenDiding