版本比较
P15569 [COCI 2025/2026 #5] 结构 / Struktura 题解
正文
增加 3 行删除 3 行
12345651 行未改动5859606162636465669 行未改动[可能更好的食用体验](/article/vpw6yibh) $|$[题目传送门](/problem/P15569) $|$[我的其他题解](/user/523641/article?category=2)------------### ${\color{#00CD00}\text{思路}}$51 行未改动int qpow(int a, int k){if(k == 0) return 1;int t = qpow(a, k >> 1);return 1ll * t * t % Mod * (k & 1 ? a : 1) % Mod;}long long n, k;signed main(){cin.tie(nullptr) -> sync_with_stdio(false);cin >> n >> k;9 行未改动12345651 行未改动5859606162636465669 行未改动[可能更好的食用体验](/article/vpw6yibh) $|$[题目传送门](/problem/P15569) $|$[我的其他题解](/user/523641/article?category=2)------------### ${\color{#00CD00}\text{思路}}$51 行未改动int qpow(int a, int k){if(k == 0) return 1;int t = qpow(a, k >> 1);return 1ll * t * t % Mod * (k & 1 ? a : 1) % Mod;}long long n, k;signed main(){cin.tie(nullptr) -> sync_with_stdio(false);cin >> n >> k;9 行未改动