【JZOJ A組】乘

Description Input Output Sample Input Sample Input1: 4 3 9 6 5 8 7 7 Sample Input2: 見下發文件中的 ex_pow2.in/out. Sample Output Sample Output1: 0 Data Constraint 思路 這道題很妙! 考慮 a 是定值, 而 b ≤ 1012, 我們可以預處理 a 的
相關文章
相關標籤/搜索